IRCloggy #git 2016-03-02

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2016-03-02

ramsub07 left00:00
mattcen left00:02
diegoviola joined00:05
xbob left00:05
milki configuration problably?00:07
daito joined00:07
fahadash joined00:08
kermit left00:09
pks left00:09
pks_ joined00:09
knownasilya left00:10
dsdeiz joined00:10
dsdeiz left00:10
dsdeiz joined00:10
mattcen joined00:10
harish left00:12
ywecur_ left00:12
daito left00:13
aidalgol joined00:13
WakiMiko_ left00:15
WakiMiko joined00:15
mezod joined00:18
floatingpoint left00:18
ajf- left00:19
raijin left00:19
mizu_no_oto joined00:21
skastur1skasturi00:21
jmckind joined00:23
r_rios joined00:23
r_rios Hey. I accidentally created a local branch origin/branch and now I can't delete because git thinks I'm referring to remotes/origin/branch. What should I do? How can I specify I want to delete the local branch?00:25
xcpep joined00:25
osse r_rios: git branch -d refs/heads/origin/branch00:25
r_rios: rule of thumb: if something is ambiguous, try with the "full" name.00:26
might happen if you do stuff like push origin <sha1>:master and stuff like that00:26
r_rios error: branch 'refs/heads/origin/branch' not found.00:26
gigq left00:26
osse then you don't have such a branch00:27
r_rios % git branch00:28
* branch00:28
origin/branch00:28
ajf- joined00:28
osse r_rios: try git for-each-ref 'refs/heads'00:28
by "try" I mean "what does this print?"00:29
mattfoo left00:29
gigq joined00:29
r_rios https://gist.github.com/anonymous/5274fee5f2e2eb2413d700:30
jason237 joined00:31
osse huh00:31
at least I can reproduce it00:31
r_rios So, is this a bug?00:31
osse git update-ref -d refs/heads/origin/branch works00:31
I dunno.00:31
r_rios By "works", you mean it deletes the branch?00:32
osse Maybe it's on purpose so that you can't use git-branch to delete stuff that aren't branches00:32
eletuchy left00:32
osse yes00:32
citizen-stig joined00:32
nwkj86 left00:33
muld left00:33
fmcgeough left00:33
McSorley joined00:34
mattfoo joined00:34
osse r_rios: Waaaiiit a minute. Here git branch -d origin/master works straight up without fuss :O00:34
r_rios uh00:34
osse That does make sense, because looking at the code it seems like it unconditionally prepends refs/heads.00:34
r_rios Well, already deleted it with update-ref, so I can't re-reproduce it anymore00:35
osse create it! :P00:35
r_rios I'm scared00:35
Let's see...00:35
osse Nah, you don't have to, but would be interesting. Maybe your git version is in some limbo state where it's both kinds of useless00:35
_wwwbukolaycom joined00:36
r_rios It worked now...?00:36
osse Hooray!00:36
r_rios Maybe some specific conditions made it not be deleted for some reason00:36
osse So how did you try to delete it that prompted you to come here?00:36
Maybe00:36
Can I go to bed now00:37
citizen-stig left00:37
r_rios I think00:37
Anyway, thanks :D00:37
Sleep tight00:38
McSorley HI, i have two two tags v2.1 & v2.2. The v2.2 version is missing a single commit from v2.1. What is the best approach of getting this one change included into v2.2. Basic git experience here so the most straightforward approach appreciated! Thanks00:38
bollullera left00:38
preaction tags are basically labels for commits. are you sure you don't mean branches?00:39
raijin joined00:39
kermit joined00:40
e01 joined00:41
McSorley preaction: So its is the one single branch that is tagged, basically something was hotfixed off of what should have been the latest tag and remerged but a single commit was missed.00:42
sssilver joined00:42
ajf- left00:44
AaronMT left00:45
tang^ left00:45
e01 left00:46
McSorley preaction: On Github, I can compare the two tags and see the earlier tag has an addition that the later tag does not. So what I would like to do is apply my working copy (latest tag) with the missed commit and re-tag. Possible?00:47
dreiss left00:47
mizu_no_oto left00:47
preaction can you show me the github repo? i think we're getting the terminology messed up00:47
crose left00:48
raijin left00:49
McSorley left00:52
Lunatrius` joined00:53
fmcgeough joined00:54
Lunatrius`Lunatrius00:54
amikiri left00:54
ajf- joined00:55
nnyk_ joined00:56
dreiss joined00:56
kilo_bravo left00:57
eletuchy joined00:58
fstd left00:59
clemf left00:59
fstd joined01:00
sgen left01:01
imachuchu left01:01
kpease left01:01
daito joined01:02
michelangelo left01:03
BooK_ milki: sorry, was afk. did you mean that the git config could be different on my two systems?01:03
michelangelo joined01:03
BooK_ I didn't about it, but I'll check01:03
d4rklit3 left01:03
ensyde_ joined01:04
kolobyte left01:06
tristanseifert left01:06
fracting joined01:06
italoacasas left01:07
fmcgeough left01:07
mayankgupta27 left01:07
rhnvrm joined01:07
leprechau left01:07
intrigueD left01:07
mayankgupta27 joined01:08
moobee left01:08
chitopunk left01:09
kolobyte joined01:09
kolobyte left01:09
kolobyte joined01:09
justanotheruser left01:10
eletuchy left01:11
sangy left01:11
tristanseifert joined01:11
justanotheruser joined01:12
leprechau joined01:13
deltab joined01:14
pigeon joined01:17
harish joined01:22
Tanger joined01:22
Craig joined01:23
rhnvrm left01:23
Craig left01:24
thiago left01:25
espindola joined01:26
Lunatrius` joined01:26
Lyqyd joined01:28
Lunatrius left01:28
Lunatrius`Lunatrius01:28
stonerfish joined01:30
Mobutils left01:31
mayankgupta27 left01:31
joufflu joined01:34
sylario left01:36
robbyoconnor left01:37
bluezone joined01:38
fracting left01:38
akushner_ left01:38
JanC left01:38
rubyonrailed left01:39
paddyez left01:40
gtristan left01:40
jonmorehouse left01:40
EvilPenguin left01:41
harish_ joined01:41
staticshock left01:42
boombatower left01:46
user083 left01:46
dpower left01:47
espindola left01:47
githogori left01:47
user083 joined01:48
cdg left01:49
cdg joined01:50
urda left01:50
ajf- left01:51
JanC joined01:52
nurey left01:53
eletuchy joined01:53
cdg left01:54
robbyoconnor joined01:54
mylord joined01:55
mylord how do I commit from a detached head, or otherwise make my current code atop this branch (master)?01:55
harish_ left01:55
mezod left01:56
sgambino left01:58
tlaxkit left01:58
sgambino joined01:58
sgambino left01:59
aaronj left01:59
ahr3n_ left01:59
diegoviola left02:02
rodolfowtf joined02:03
ojacobson !reattach02:05
gitinfo Letters refer to !detached. (a) and (b): 'git checkout branchname' to continue working on another branch, or 'git checkout -b branchname' to start a new one here; (c) git am --continue; (d) git rebase --continue02:05
xelxebar joined02:06
theskillwithin joined02:08
UniFreak joined02:08
clemf joined02:10
UniFreak left02:10
diegoaguilar left02:11
user083 left02:11
italoacasas joined02:11
italoacasas left02:12
italoacasas joined02:13
thiago joined02:13
unreal_ joined02:14
oich left02:15
gtristan joined02:16
AndroUser joined02:16
daurndaurnimator02:17
unreal left02:17
citizen-stig joined02:21
modocache left02:21
Sasazuka left02:22
modocache joined02:23
mayankgupta joined02:23
dsantiago left02:23
safe joined02:24
diegoaguilar joined02:25
strayPuppy joined02:25
citizen-stig left02:26
cmosguy left02:26
andrew_ joined02:28
e01 joined02:29
e01 left02:29
e01 joined02:29
Goplat joined02:30
donmichelangelo joined02:30
rubyonrailed joined02:31
michelangelo left02:33
e01 left02:34
tantom joined02:34
nellicus joined02:35
jottr joined02:35
italoacasas left02:35
mayankgupta_ joined02:36
gitinfo set mode: +v02:37
tantom hi guys. I have a question about 'git pull --rebase'. I have a remote branch and a local branch that mirrors it. I did a 'git pull --rebase' from local branch to the remote and i had some conflicts. after resolving all conflicts and finishing the rebase, when i do a git hist, i am missing the latest commit02:37
noogler67 left02:38
EvilPenguin joined02:38
tantom during the rebase I remember it said it was trying to apply that commit but the changes were already made. how can i get that commit to show in my history02:38
noogler67 joined02:38
robbyoconnor left02:39
modocache left02:40
Vampire0_ joined02:40
jmckindjmckind_02:40
nellicus left02:40
spinningarrow joined02:41
Vampire0 left02:43
jottr_ joined02:44
jmckind_ left02:46
jottr left02:46
durham left02:47
josuebrunel left02:48
rhnvrm joined02:48
nilsi joined02:48
nilsi left02:48
pks- joined02:48
modocache joined02:48
nilsi joined02:49
modocache left02:49
rhnvrm left02:49
Coop joined02:49
bronson left02:49
nellicus joined02:49
modocache joined02:49
andrew_ left02:50
mayankgupta_ left02:50
nellicus_ left02:51
pks_ left02:52
Silenced joined02:52
Silenced left02:52
Silenced joined02:52
clemf left02:53
harish left02:54
MattMaker joined02:55
clemf joined02:55
Noldorin left02:58
justanotheruser left02:59
justanot1eruser joined02:59
mayankgupta left03:00
ensyde_ left03:00
whomp_ joined03:01
whomp left03:02
choki left03:03
andrew_ joined03:04
Rodya_ joined03:05
AndroUser left03:08
harish joined03:10
EvilPenguin left03:11
spinning_ joined03:13
kriskropd joined03:14
sangy joined03:15
whomp_ left03:15
spinningarrow left03:16
boombatower joined03:18
The_Woodsman left03:19
__xor left03:20
mostlybadfly joined03:20
bronson joined03:20
Ahmed90 left03:20
_xor joined03:20
robbyoconnor joined03:20
bronson left03:21
astrofog joined03:21
jmckind joined03:22
rodolfowtf left03:23
mizu_no_oto joined03:24
rodolfowtf joined03:25
oich joined03:26
chachasmooth left03:26
chachasmooth joined03:27
zotherstupidguy joined03:27
iota_pi left03:27
astrofog left03:28
iota_pi joined03:28
jmckindjmckind_03:29
nnyk_ left03:30
whomp joined03:31
modocache left03:32
joufflu left03:33
joufflu joined03:33
modocache joined03:34
kadoban joined03:34
jmckind_ left03:35
ezefarina joined03:35
whomp left03:36
pcre_ left03:36
modocache left03:38
spinning_ left03:38
jmckind joined03:39
ezefarina left03:39
fishcooker joined03:41
daito left03:42
silentz0r joined03:44
rubyonrailed left03:45
colona joined03:47
D-Boy left03:47
Wetmelon left03:47
Wetmelon joined03:48
whomp joined03:49
Mobutils joined03:50
bluezone left03:51
MattMaker left03:51
mehola joined03:55
gitinfo set mode: +v03:55
rodolfowtf left03:56
oich left03:57
leksster joined03:59
harish left04:00
noogler6_ joined04:00
jonmorehouse joined04:01
jagob left04:02
aidalgol left04:02
floatingpoint joined04:03
milki BooK_: if you are compiling, that has nothing to do with git config. i mean compilation configuration04:03
BooK_: some of it is autodetected04:03
noogler67 left04:03
mizu_no_oto left04:04
D-Boy joined04:04
daito joined04:06
xelxebar left04:07
flavi0 left04:08
Dougie187 joined04:09
jmckind left04:09
modocache joined04:10
harish joined04:12
jottr joined04:13
moL-Ou joined04:13
jetpack_joe joined04:13
jottr_ left04:15
howdoi joined04:16
e01 joined04:17
a_thakur joined04:17
waspinator left04:21
noogler6_ left04:21
e01 left04:21
noogler67 joined04:21
bronson joined04:22
jetpack_joe left04:23
jetpack_joe joined04:24
jetpack_joe left04:24
ramsub07 joined04:24
jetpack_joe joined04:25
rodolfowtf joined04:26
bronson left04:28
Wetmelon Has anyone used GitKraken?04:28
Dougie187 left04:29
jason237 left04:29
watabou joined04:31
dsantiago joined04:36
toothe I don't understand git rebase...04:37
thiago it's very simple04:37
presto left04:37
toothe please explain...04:37
modocache left04:37
thiago sure04:38
MattMaker joined04:38
thiago it takes the patches, then applies them over the new base04:38
robbyoconnor left04:39
hfp left04:39
spinningarrow joined04:39
toothe so, that's the same as git pull?04:39
nnyk_ joined04:39
thiago no04:39
git pull = git fetch + git merge04:39
jmckind joined04:39
thiago git pull --rebase = git fetch + git rebase04:39
you can compare git rebase to git merge04:40
toothe so, it does the fetch and then...04:40
MutantMahesh joined04:40
njbair left04:40
thiago merge04:40
toothe ahh...04:40
okay04:40
i think I understand...04:40
spinningarrow left04:43
jonesinator joined04:46
njbair joined04:48
njbair left04:49
njbair joined04:49
kermit left04:51
spock left04:53
ToBeCloud left04:54
spock joined04:54
fscala left04:54
spockGuest464704:54
Rodya_ left04:55
Rodya_ joined04:55
fscala joined04:56
Silenced left04:56
jagob joined04:57
rodolfowtf left04:57
nazareno joined04:57
rMdes left05:00
daito left05:00
nevodka joined05:00
nazareno left05:01
josuebrunel joined05:01
PtxDK left05:05
daito joined05:05
PtxDK joined05:05
zivester joined05:06
a_thakur left05:07
cdg joined05:08
lindenle left05:09
cyan__ joined05:09
rscata joined05:10
diogenese left05:11
MutantMahesh left05:11
MutantMahesh joined05:15
AfroThundr joined05:15
r_rios left05:15
r_rios joined05:15
diogenese joined05:17
kermit joined05:18
Mobutils left05:18
ramsub07 left05:19
Manikandan joined05:20
cdg left05:21
mase-tech left05:21
sdothum left05:22
joufflu left05:22
spinningarrow joined05:26
Rodya_ left05:27
Mobutils joined05:29
eletuchy left05:29
MattMaker left05:29
jason237 joined05:30
d4rklit3 joined05:30
a3Dman left05:31
eletuchy joined05:31
eletuchy left05:31
HelloComputer15 left05:33
nnyk_ left05:33
Rodya_ joined05:35
a3Dman joined05:36
a_thakur joined05:36
whomp left05:37
Gege left05:37
whomp joined05:38
Mobutils left05:39
Rodya_ left05:41
boopathi joined05:42
Cabanossi left05:43
whomp left05:43
Gege joined05:45
Cabanossi joined05:45
robbyoconnor joined05:45
LeeXiaolan joined05:45
LeeXiaolan left05:46
dinesh_ joined05:47
andrew__ joined05:49
mohabaks joined05:49
freimatz joined05:49
NwS left05:49
NwS joined05:50
boopathi_ joined05:50
elementalest left05:51
nevodka left05:51
andrew_ left05:52
elementalest joined05:52
elementalest left05:52
elementalest joined05:52
boopathi left05:52
josuebrunel left05:53
dinesh_ left05:54
dinesh_ joined05:54
Silenced joined05:55
Silenced left05:55
Silenced joined05:55
dinesh__ joined05:55
roygbiv joined05:55
whomp joined05:56
roygbiv left05:57
Sleepy63 left05:58
eletuchy joined05:58
citizen-stig joined05:58
jmckind left05:59
dineshp joined06:00
dinesh__ left06:00
whomp left06:01
daito_ joined06:01
tpollard left06:01
dinesh_ left06:02
eletuchy left06:02
dineshp left06:03
dineshp joined06:03
citizen-stig left06:03
dineshp left06:04
Rodya_ joined06:04
dineshp joined06:04
dineshp left06:04
dineshp joined06:05
daito left06:05
e01 joined06:05
e01 left06:05
e01 joined06:05
tantom left06:05
dineshp left06:05
dineshp joined06:06
whomp joined06:06
Rodya_ left06:08
dineshp left06:08
dineshp joined06:08
oich joined06:09
lindenle joined06:09
e01 left06:09
Rodya_ joined06:10
akagr joined06:10
dineshp left06:10
`steph joined06:10
nnyk_ joined06:10
dineshp joined06:10
whomp left06:11
`steph i want to dl and install git bash06:11
arooni left06:11
`steph is there a working link ...not having any luck with https://git-scm.com/download/win06:11
thiago what's the issue with that?06:12
_ikke_ `steph: works for me06:12
dineshp the link is working06:12
whomp joined06:12
thiago three people confirm the link works06:12
`steph wonder why it doesn't work for me06:12
hmmm06:12
_ikke_ Direct link: https://github.com/git-for-windows/git/releases/download/v2.7.2.windows.1/Git-2.7.2-32-bit.exe06:13
Do you have noscript running?06:13
dsdeiz left06:13
lindenle left06:14
`steph hmm06:14
lemme try a different browser06:14
ok it didnt work for my opera browser06:15
dineshp what is the error message that you are getting?06:15
`steph but it worked for my chrome browser06:15
PryMar56 left06:15
dreiss left06:15
`steph that's the thing no error message just that the download stayed at 0%06:16
vincent42 joined06:17
`steph i just want to get the git bash and nothing else06:17
floatingpoint left06:17
bronson joined06:17
boopathi_ left06:19
nevodka joined06:19
morfin hmm git allows merging of branch with itself06:20
when diverged06:20
Rodya_ left06:21
Lyqyd left06:21
bronson left06:22
whomp left06:22
dinesh_ joined06:22
strayPuppy left06:22
`steph i have github already installed06:22
Rodya_ joined06:22
`steph and the git shell which from what i understand is only powershell not bash06:23
so i need git bash to customize virtualenv and virutalenvwrapper06:23
kadoban morfin: Yes. That's not merging a branch with itself, that's two separate branches.06:25
jottr left06:25
muthu joined06:26
dineshp left06:26
Alienpruts joined06:29
justanot1eruserjustanotheruser06:30
ChocoBar left06:30
z8z joined06:31
dreiss joined06:31
dinesh_ left06:32
dineshp joined06:32
sparetire left06:33
SimonNa joined06:33
dineshp left06:33
dineshp joined06:33
sangy left06:35
k-man left06:35
choki joined06:37
spinningarrow left06:37
jagob left06:37
Alienpruts left06:38
whomp joined06:39
jagob joined06:39
RudolphFenz left06:41
Alienpruts joined06:41
whomp left06:43
mohabaks left06:44
safe left06:44
ThomasLocke joined06:45
Wetmelon left06:47
morfin 2 branches with same name06:47
kam270 left06:47
choki left06:49
kadoban left06:50
tvw joined06:50
Rodya_ left06:50
sea-gull- left06:51
sea-gull joined06:52
intrigueD joined06:52
silentz0r left06:53
dineshp left06:54
meadmoon joined06:54
daito joined06:56
meadmoon left06:57
heroux joined06:57
eletuchy joined06:59
daito_ left07:00
whomp joined07:00
tHEMtZ joined07:02
weox left07:03
whomp left07:04
radsy joined07:05
e01 joined07:06
freimatz left07:07
jetpack_joe left07:07
WayToDoor left07:07
robbyoconnor left07:07
eletuchy left07:08
boombatower left07:09
daito left07:09
whomp joined07:10
e01 left07:11
zeroed joined07:11
zeroed left07:11
zeroed joined07:11
Fijit joined07:13
jonmorehouse left07:14
mwhooker joined07:15
daito joined07:15
lb joined07:17
intrigueD left07:18
Puhe left07:19
acolson joined07:19
whomp left07:20
wilsoncd35 joined07:20
roelmonnens joined07:20
Alienpruts left07:21
e01 joined07:22
BooK_ milki: ok, thanks for clarifying. is the autodetected compilation configuration stored somewhere?07:23
I've noted GIT-CFLAGS, for example07:23
freimatz joined07:24
wwwald joined07:24
nilg left07:24
samw left07:27
lamppid joined07:27
Gitzilla_ left07:27
radsy left07:28
nilg joined07:28
hahuang65 left07:29
Wetmelon joined07:30
harish left07:30
samw joined07:31
clemf left07:32
eijk joined07:33
mwhooker left07:33
zeroed left07:33
zeroed joined07:35
zeroed left07:35
samw left07:35
zeroed joined07:35
zeroed left07:35
zeroed joined07:35
zeroed left07:37
skapunker left07:37
witquicked left07:37
skapunker joined07:38
hahuang65 joined07:38
Sceorem joined07:38
Alienpruts joined07:38
robbyoconnor joined07:38
ShapeShifter499 left07:41
smithbone_ joined07:42
mehola left07:43
mehola joined07:43
armyriad left07:43
mehola left07:44
`steph my installer is stuck at "Please wait while Setup Installs Git on Your Computer"07:44
PaulCape_ joined07:44
pantsman- joined07:44
`steph been stuck here for one hour now07:44
fstd left07:44
smithbone left07:44
fstd joined07:44
fstd left07:44
fstd joined07:44
ahel left07:44
PaulCapestany left07:45
ahel joined07:46
`steph just hit the end process button07:46
what a shame07:46
robbyoconnor left07:46
robbyoconnor joined07:46
robbyoconnor left07:47
citizen-stig joined07:48
robbyoconnor joined07:48
lamppid left07:48
Sleepy63 joined07:48
samw joined07:49
jonmorehouse joined07:52
citizen-stig left07:52
samw left07:53
heftig do unannotated tags point directly to commits?07:54
lamppid joined07:54
Seveas yes07:54
or trees or blobs07:55
heftig I noticed tags can be put on those07:55
any reason to?07:55
Silenced left07:56
PHPanos joined07:56
Seveas the last non-git version of linux was imported later and its tree was tagged07:58
gig.git has junio's public key as an object that does not exist in history but is tagged07:59
dan2k3k4 joined08:00
pantsman- left08:00
afuentes joined08:00
David1977 joined08:01
PHPanos left08:01
atmosx joined08:01
MutantMahesh left08:03
astrofog joined08:03
mylord left08:04
emPi joined08:05
_ikke_ Seveas++08:06
`steph ok uninstalling Git for Windows08:07
turned out to be a bad idea08:07
robbyoconnor left08:08
noogler67 left08:08
fwdit joined08:08
robbyoconnor joined08:08
robbyoconnor left08:09
eletuchy joined08:09
PaulCape_ left08:09
neohe_ joined08:09
e01 left08:09
thiago left08:09
TomyWork joined08:09
MutantMahesh joined08:09
PaulCapestany joined08:09
a3Dman left08:10
pks- left08:10
eletuchy left08:11
citizen-stig joined08:12
Gamecubic left08:12
harish joined08:12
rasto left08:14
a_thakur left08:14
rasto joined08:15
mohabaks joined08:16
pks_ joined08:16
citizen-stig left08:17
d4rklit3 left08:17
MeltedLux left08:18
MeltedLux joined08:19
madebymarkca joined08:19
JeroenT joined08:19
MutantMahesh left08:20
dreiss left08:20
pks_pks08:21
bronson joined08:23
Silenced joined08:24
Silenced left08:24
Silenced joined08:24
xbob joined08:24
_0xAX joined08:24
Balliad joined08:25
`steph left08:25
WayToDoor joined08:27
fracting joined08:27
fees joined08:27
watabou left08:28
acolson left08:28
Raging_Hog joined08:28
bronson left08:29
neohe_ left08:29
eletuchy joined08:30
neohe joined08:30
stonerfish left08:31
Wetmelon left08:32
a_thakur joined08:33
Fijit left08:33
Raging_Hog left08:34
Hounddog joined08:34
nnyk_ left08:34
jceb joined08:34
jaafar left08:35
a3Dman joined08:35
ramsub07 joined08:35
fracting left08:36
josuebrunel joined08:38
Silenced left08:39
Gonzo89 joined08:41
_noblegas joined08:42
hahuang61 joined08:42
permalac joined08:42
permalac left08:42
JeroenT left08:42
Silenced joined08:43
Silenced left08:43
Silenced joined08:43
hahuang65 left08:44
xanadu_ left08:44
dantix_ joined08:46
nikitasius joined08:48
henbruas left08:48
i7c $sentenceWithWindows turned out to be a bad idea ;)08:49
jonmorehouse left08:49
akagr left08:49
mahendra_ joined08:50
ericvw left08:52
nnyk_ joined08:53
Goplat left08:55
Borkr joined08:57
abh left08:58
abh joined08:58
jceb left08:58
bongjovi joined09:00
permalac joined09:00
JeroenT joined09:04
wwwald_ joined09:05
mwhooker joined09:05
citizen-stig joined09:07
otho left09:07
ToxicFrog left09:08
Xatenev joined09:09
wwwald left09:09
Xatenev hello09:09
_pix joined09:09
Xatenev how do I search for a text in all commit messages ever made?09:09
pks left09:09
Xatenev Like for exmaple I wanna search a commit with 'Database' in the commit message09:09
_ikke_ git log --grep09:10
Xatenev non case sensitive09:10
thank you _ikke_09:10
jast -i09:10
cyan__ left09:11
roknir left09:11
Xatenev =)09:11
joki left09:12
harish left09:12
troulouliou_div2 joined09:12
Xatenev Sorry, last question09:13
git log --grep:'PL-121' -i doesnt work09:13
how do I make - work?09:13
jceb joined09:13
Xatenev LOl whatever09:14
im dumb09:14
jast no comment ;)09:14
ramsub07 left09:15
MutantMahesh joined09:16
ferr joined09:17
Silenced left09:17
joki joined09:18
ToxicFrog joined09:18
Raging_Hog joined09:18
JeroenT left09:21
JeroenT joined09:21
Silenced joined09:23
Silenced left09:23
Silenced joined09:23
arjun_ joined09:23
MadHatter42 joined09:23
kurkale6ka joined09:24
clmsy joined09:24
mehola joined09:24
eletuchy left09:25
dhilipsiva joined09:25
MotoNyan left09:26
mryanbrown theres a gitproject i want to work on, but modify its name and file structure but still contribute file changes, how do i do that09:26
aviraldg joined09:26
nuge joined09:27
Xatenev left09:27
Moto-chan joined09:27
Tanger left09:28
daito left09:28
daito joined09:29
clmsy left09:30
daito_ joined09:30
mehola left09:30
clmsy joined09:31
daito left09:34
dsdeiz joined09:37
dsdeiz left09:37
dsdeiz joined09:37
Gitzilla joined09:37
astrofog left09:37
jceb left09:38
Vampire0_Vampire009:38
Vampire0 mryanbrown, I'd suggest creating a branch from upstream, port over the changes you made in your changed structure and then contribute from that branch09:39
dan2k3k4 left09:42
pwnz0r joined09:45
sig how's http://www.gitkraken.com/ vs sourcetreeapp09:45
net4all joined09:45
net4all so, I need to build git, can git do out of source builds?09:46
dantix_ left09:47
dantix__ joined09:47
roknir joined09:47
reim left09:47
jagob left09:48
pwnz0r net4all: what? your question makes no sense09:49
mohabaks left09:49
settermjd joined09:50
jceb joined09:51
dan2k3k4 joined09:51
net4all pwnz0r: can git be built outside its sourcecode directory?09:51
dcpc007 can git follow simlinks09:51
BlessJah is there way to find out recursive size of treeish? a.k.a. someone commited large files long time ago, now I want to find out09:52
dcpc007 i use etckeeper for the /etc, but a specific soft use /opt/soft/etc/ to keep its configs ...09:52
pwnz0r i am not sure09:52
thomas_d joined09:52
pwnz0r why do you need to build git?09:52
dcpc007 i would create a link /etc/soft/09:52
Gitzilla left09:52
thomas_d hey I want to use the git cmd to browse dirs/files in a remote branch. Do I want ls-remote or ls-files or...?09:53
I've looked at the --help for both and can't really discern, lol...09:53
net4all pwnz0r: i have infrastructure that is ancient (2003) and cannot be modified. so i have to build many things from source :/09:53
BlessJah dcpc007: git stores symlinks as symlinks, I guess you want it to dereference symlinks?09:53
pwnz0r ahh ic that poses an issue for sur09:53
dcpc007 want to version the files inside the folder09:54
e01 joined09:54
osse net4all: you can use a shadowdir09:54
shaggycat joined09:54
bumbar_ joined09:54
pwnz0r so you basically want a version of git on the host, that is not installed to the system dirs?09:54
osse net4all: aka "poor man's out-of-source build"09:54
net4all pwnz0r: yes. and I have to build git many times (crosscompile) so I wanted to keep the sourcedir clean.09:55
Vampire0 dcpc007, why not the other way round? Move the files to /etc/soft where they belong and then create a symlink from /opt/soft/etc to /etc/soft. Then you have no trouble with etckeeper09:56
Seveas dcpc007: git will store symlinks as is and has no option to dereference them.09:56
dcpc007 think about this, but, i fear that next update overwrite them ..09:56
net4all osse: thanx, but then I have to get rake/ruby :)09:57
osse net4all: why?09:57
net4all i think i will just copy the directory for each build09:57
osse net4all: what I had in mind is using lndir.rake or ruby has nothing to do with it09:57
thomas_d Can anybody hear me?09:58
e01 left09:59
ploopkazoo joined09:59
net4all osse: oh, google misled me. i will look at lndir. thx!09:59
LucaTM joined09:59
osse thomas_d: no10:00
thomas_d: you want ls-tree10:00
thomas_d Ah, ty! :)10:00
fracting joined10:01
Vampire0 dcpc007, depends on whether it replaces the directory or the files in it. But it could be that you have to re-create the symlink, yes. But actually I doubt it, because it is a configuration directory, so an update should not replace the whole directory as there could be user-made changes10:01
osse net4all: mkdir buildir; cd builddir; lndir ../git; make; rejoice10:01
"command not found: rejoice" :'(10:02
M3mphiZ left10:03
dcpc007 Vampire0: i hope :) but you don't know what proprietary software are able to do :)10:03
and not respect any basic rules10:03
Vampire0 dcpc007, well yes, you just have to try10:03
dcpc007, but you will probably have no other choice than doing it that way10:04
Gitzilla joined10:04
Vampire0 dcpc007, git stores symlinks as symlinks and afaik you cannot tell it to dereference them10:04
dcpc007, otherwise a checkout would not restore the original state10:04
dcpc007 yep, or find how to create a 2nd etckeeper process for another directory10:04
Vampire0 dcpc007, yes, that could also work if possible10:05
dcpc007 or create a real git standalone with personnal crontab script to autocommit ...10:05
osse net4all: it even works10:05
roelmonnens left10:06
reim joined10:06
wwwald_ left10:06
roelmonnens joined10:06
madebymarkca left10:06
Vampire0 dcpc007, yes, also possible. Maybe even better. You can use etckeeper in an arbitrary directory, but I guess it will not be triggered to commit like the standard etckeeper10:06
dcpc007, I personally would move the files to /etc and symlink them as I like my configuration files to be where they belong :-)10:07
wwwald joined10:07
dcpc007 ok, will try, need a post-it to remember check auto update to see when system update modify those files and check ... hope not in 6 months10:08
fbwnd left10:08
Vampire0 dcpc007, if this software is new for you, just try it. Uninstall it, install an older version, move and link the files and then update :-)10:09
dcpc007 1st version installed :)10:09
don't know when i'll get a newer10:09
PCatinean joined10:09
dcpc007 i'll see10:09
thx for help10:09
Vampire0 yw10:10
e01 joined10:10
e01 left10:10
e01 joined10:10
SimonNa left10:11
aard_ joined10:12
JeroenT left10:15
e01 left10:15
gechr joined10:15
sbasso joined10:15
Hounddog left10:17
Jellyg00se joined10:17
notebox joined10:18
JeroenT joined10:18
senny joined10:20
citizen-stig left10:20
reim left10:20
senny left10:21
weox joined10:22
dpower joined10:22
akagr joined10:22
arjun_ left10:23
ErKa joined10:23
fbwnd joined10:23
Anticom joined10:24
Anticom Hi all. When i do `git log` in a submodule, it exits with code 141 (I'm using Git 1.9.1)10:25
Any clues, what 141 is?10:25
arup_r joined10:25
jceb left10:25
youser joined10:26
bronson joined10:26
gitinfo This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person, but please do it via private message to avoid mass highlighting people.10:27
arup_r Hi, I created a feature branch, and committed it with a message. Then made a PR in Gitlab with master branch. After doing this all, I realized my commit message is wrong. So I did `git commit --amend` and corrected the message. But now not able to push it furthur. https://gist.github.com/aruprakshit/4de1c6a871e0c98a1d1f10:27
what should I do ?10:27
osse Anticom: git-submodule died from SIGPIPE10:27
I mean git log I guess10:27
aard_ left10:28
Vampire0 Anticom, well, according to the source this should not happen *g*10:30
/* Should never happen, but just in case... */10:30
exit(141);10:30
reim joined10:30
ToxicFrog left10:30
osse huh10:30
arup_r any help to me ?10:31
ToxicFrog joined10:31
osse arup_r: there is nothing you can do.10:31
arup_r: force-pushes have been denied server-side10:31
bronson left10:31
arup_r ok, then close the merge and create a new one again ?10:32
nnyk_ left10:32
osse arup_r: call the IT department and say "I am a grown adult who knows what I am doing. Please let me force-push"10:32
citizen-stig joined10:32
osse yes, that'll work too10:32
arup_r ok.. :)10:32
chll joined10:32
JeroenT left10:32
M3mphiZ joined10:33
M3mphiZ left10:33
M3mphiZ joined10:33
JeroenT joined10:33
Anticom Vampire0: I guess you where looking at write_or_die.c ?10:33
arup_r: may the force be with you10:35
mischat joined10:35
arup_r :/10:35
Anticom Not to confuse with may 4th we'll be with you10:35
Vampire0 Anticom, exactly, the only place where 141 is used as exit code as far as I can see10:35
Anticom hm10:36
oh wells, guess it's just cosmetics10:36
ToxicFrog left10:37
reim left10:37
mischat_ joined10:37
jceb joined10:39
mischat left10:40
Vampire0 A broken pipe sounds like a plumbing problem :-D10:41
Anticom Time to call Mario?10:42
nilsi left10:43
akagr_ joined10:43
akagr left10:44
Vampire0 Aaaaand Luigi10:44
ToxicFrog joined10:44
ErKa left10:45
arup_r left10:47
samw joined10:47
[gmi] joined10:47
MutantMahesh left10:47
juanmont joined10:47
xanadu_ joined10:48
gitinfo set mode: +v10:49
juanmont hi10:49
gitinfo juanmont: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.10:49
subbero left10:49
flavi0 joined10:50
Fissure joined10:51
MutantMahesh joined10:53
henbruas joined10:54
reim joined10:55
juanmont left10:57
nnyk_ joined10:57
rnsanchez joined10:59
JeroenT left10:59
samw left10:59
FunkyAss joined11:02
MutantMahesh left11:03
ykrons left11:03
samw joined11:06
punto left11:06
fbwnd left11:06
ToxicFrog left11:09
fishcooker1 joined11:10
chovy left11:10
JeroenT joined11:11
fscala left11:11
JeroenT left11:11
daito_ left11:12
chovy joined11:12
pks_ joined11:12
pks_pks11:12
troulouliou_div2 left11:12
fishcooker left11:12
punto joined11:12
a3Dman left11:13
fscala joined11:13
samw left11:14
ToxicFrog joined11:14
roelmonnens left11:15
MutantMahesh joined11:16
Atm0spher1c left11:16
youser left11:18
M3mphiZ left11:18
sdothum joined11:19
nnyk joined11:19
leeN left11:20
samw joined11:20
nnyk_ left11:21
kugel left11:21
whomp joined11:23
kugel_ joined11:24
ToxicFrog left11:24
ToxicFrog joined11:25
fbwnd joined11:25
David1977 left11:25
David1977|2 joined11:25
nadare joined11:26
GT4066 joined11:27
wrouesnel1 joined11:27
whomp left11:28
samw left11:28
kugel_ left11:29
a3Dman joined11:31
GT4066 left11:32
blackwind_123 left11:33
samw joined11:34
Junior joined11:35
Dyonisos joined11:36
neohe left11:37
neohe joined11:37
nettoweb joined11:38
tvw left11:38
nettoweb left11:40
BeerSerc1 left11:40
nettoweb joined11:41
BeerSerc joined11:41
samw left11:42
kugel joined11:43
kugel left11:43
kugel joined11:43
Sephyros joined11:43
e01 joined11:44
JeroenT joined11:44
fbwnd left11:45
xanadu_ left11:46
M3mphiZ joined11:48
samw joined11:49
jceb left11:49
zotherstupidguy left11:49
e01 left11:49
samw left11:53
flavi0 left11:53
ghormoon joined11:54
Afforess joined11:54
ghormoon left11:55
ghormoon joined11:55
Foren joined11:57
r_rios Could someone help?: https://stackoverflow.com/questions/35578708/merge-conflict-resolution-how-to-accept-all-remote-changes-except-the-ones-in-f11:57
reim left11:59
nevodka left12:01
fahadash left12:01
nilsi joined12:02
tobiasvl r_rios: something like this? http://stackoverflow.com/a/7292109/17646412:02
r_rios: or, since it seems you want to just overwrite all your changes, checkout each file from v2 that you want from there, and merge the rest?12:03
jceb joined12:03
Junior left12:03
nadare left12:04
r_rios No, I actually want the opposite of that: I want to keep all my changes12:06
MutantMa_ joined12:07
harsh joined12:07
harshGuest1898012:07
MutantMahesh left12:07
r_rios I want to update my project to v2 while keep the changes I've made12:07
Guest18980 left12:08
[BNC]jackburtonjackburton12:10
youser joined12:11
lindenle joined12:12
dan2k3k4 left12:14
r_rios tobiasvl: But the first link seems pretty helpful, thanks12:15
lindenle left12:16
mezod joined12:17
samw joined12:19
reim joined12:20
rMdes joined12:20
codeman joined12:20
codeman left12:20
WayToDoor left12:21
codeman joined12:21
nuge left12:26
Stummi how can I get a submodules git url via command line?12:27
mehola joined12:28
cbreak Stummi: git config lets you access the one in the config12:28
dan2k3k4 joined12:28
samw left12:28
bronson joined12:28
Stummi hm, I don't think thats what I need12:29
subscope joined12:30
Manikandan left12:30
sbasso left12:31
slappymcfry left12:32
mehola left12:32
Stummi well, since I have only one submodule I could grep .gitmodules for "url = " and parse12:33
samw joined12:33
bronson left12:34
a_thakur left12:34
gechr_ joined12:35
subopt left12:35
gechr left12:36
Sceorem left12:36
cbreak Stummi: but that's not the submodule URL12:36
subscope left12:36
ash_workz joined12:36
subopt joined12:36
osse git -C path config remote.origin.fetch maybe ?12:37
cbreak it's the default URL that will be used to initialize the submodule from12:37
Lunatrius` joined12:37
LBV_User joined12:37
AfroThundr left12:37
AfroThundr joined12:38
AfroThundr left12:38
samw left12:38
Stummi osse, I have to do git submodule init and git submodule update before this, do I?12:38
osse man git-sub12:38
oops12:38
mflow joined12:38
mflow left12:38
mflow joined12:39
Stummi already looked there (assuming you mean git submodules) but couldn't find anything helpful12:39
osse I was typing it for myself without looking at the screen.. .:/12:39
Stummi heh, okay12:40
osse Stummi: git config -f .gitmodules submodule."$name".url12:40
neohe left12:40
UrsoBranco joined12:40
JeroenT left12:40
Lunatrius left12:40
Lunatrius`Lunatrius12:40
harish_ joined12:41
osse this is literally the code used by git-submodule to copy the url info from .gitmodules to .git/config12:41
neohe joined12:42
neohe left12:42
neohe joined12:42
gmichael joined12:43
sgambino joined12:43
sgambino left12:43
subscope joined12:43
dstarh joined12:44
subscope left12:44
JeroenT joined12:45
nydel07 left12:46
subscope joined12:46
atmosx left12:46
andrew__ left12:47
dsdeiz left12:47
samw joined12:48
jeffreylevesque left12:49
[gmi] left12:50
Eryn_1983_FL joined12:51
Eryn_1983_FL hi peeps12:51
osse Hi Erin from Florida, b. 198312:51
I mean Eryn12:51
Eryn_1983_FL how do i add remote origin to a repoitory i already have in dir locally12:52
osse git remote add origin <URL>12:52
Eryn_1983_FL ahhh12:52
samw left12:52
BlessJah is it possible to get list of changed files between two hashes without need for cloning repository?12:53
subbero joined12:54
pwnz0r_ joined12:54
pwnz0r_ left12:54
subbero left12:54
nydel07 joined12:54
pwnz0r left12:55
pwnz0r joined12:55
eka left12:56
MutantMahesh joined12:56
MutantMa_ left12:57
samw joined12:57
mmlb left12:58
fstd left12:59
fstd joined12:59
Sceorem joined13:00
Vampire0 BlessJah, you mean for a remote repository, also without any web frontend available, just a remote bare repository to which you also cannot SSH into the box?13:01
gtristan left13:01
eka joined13:02
ezefarina joined13:02
daito joined13:03
synthroid joined13:04
liamonade joined13:04
neohe_ joined13:05
BlessJah yep13:05
wwwald_ joined13:05
jceb left13:05
mizu_no_oto joined13:05
samw left13:05
_wwwald_ joined13:06
daito left13:07
johnmilton joined13:07
neohe left13:07
dantix__ left13:07
JeroenT left13:08
cagedwisdom left13:08
wwwald left13:08
JeroenT joined13:08
de-vri-es left13:08
johnmilton left13:08
ywecur_ joined13:09
johnmilton joined13:09
mischat joined13:09
dantix__ joined13:09
wwwald_ left13:10
ManicPanic joined13:10
de-vri-es joined13:11
DonVitoCorleone left13:11
samw joined13:12
ManicPanic i want to delete all application files and directories, but there is one important directory i want to stay untouched. How do i do that ?13:12
Puhe joined13:12
mischat_ left13:13
dantix__ left13:13
dsdeiz joined13:13
DonVitoCorleone joined13:13
rwb joined13:13
dantix__ joined13:14
i7c Is that a git question?13:14
selckin commit the directory? :)13:14
pwnz0r left13:15
i7c BlessJah, not with git, afaik.13:16
e01_ joined13:16
i7c git's remote abilities are quite limited.13:16
ManicPanic git rm -r * will delete all app files . I want to keep one directory13:17
JeroenT left13:17
sbasso joined13:17
i7c You will have to use a more limiting pattern.13:17
selckin just do it, echo *; copy paste it, or mv it out the way and then back, just do it13:17
BlessJah i7c: I hoped someone would know some obscure plumming way of retrieving list of files available on two branches :/13:18
jceb joined13:18
osse ManicPanic: git rm -r '.' ':!onedirectory'13:18
i7c BlessJah, if you have local repo I know a way. ;)13:19
ManicPanic osse: is that command legal ?13:19
osse do you question my authority ?13:19
yes it's legal13:20
but it won't work with ancient gits13:20
JeroenT joined13:20
i7c Are we putting space before question marks again ?13:20
ManicPanic osse: ok i see13:20
e01_ left13:20
BlessJah i7c: it's just diff --name-only, the thing is I dont want CI to clone/fetch just to see some diff13:20
i7c Well git can't do that. You will have to fetch.13:22
tristanp_ left13:22
xanadu_ joined13:22
grawity how is git supposed to generate a diff from something it hasn't downloaded yet, anyway?13:22
osse by asking the remote repository for it13:23
git diff-remote \o/13:23
JeroenT left13:23
jeffreylevesque joined13:23
Vampire0 BlessJah, afaik you can only list the refs alongside with their sha from a remote repo13:24
samw left13:25
BlessJah won't work13:25
bongjovi left13:25
BlessJah thanks anyway13:25
osse would be nice with some sort of git remote exec that would exec read-only stuff on the remote, such as diff, log etc.13:26
(by default disabled, heh)13:26
Vampire0 yehaw, built-in DOS attack :-D13:26
JeroenT joined13:26
i7c That's not how a distributed system works by putting load on some remote. :p13:27
osse i7c: a diff like that probably puts less load on the remote than clone :p13:28
wwwald joined13:28
tristanp joined13:28
i7c well second time it'd be a fetch13:28
grawity not if the clone just reuses a stored packfile13:28
i7c not a clone13:28
mehola joined13:28
osse is sending packfile less intensive than a diff?13:29
Maybe13:30
samw joined13:30
osse Anyway, I think it could bea useful feature13:30
moL-Ou left13:30
_wwwald_ left13:30
eijk left13:31
jottr joined13:31
MutantMahesh left13:32
mehola left13:33
ErKa joined13:35
aclearman037 joined13:35
fishcooker1 left13:36
eka left13:38
reim left13:39
jason237 left13:39
clmsy left13:39
leeN joined13:40
Puhe left13:40
samw left13:40
clmsy joined13:41
jason237 joined13:42
fmcgeough joined13:42
bongjovi joined13:43
DolphinDream joined13:43
akagr_ left13:43
mezod left13:43
flavi0 joined13:43
aclearman037 left13:44
aclearman037 joined13:44
neohe_ left13:45
settermjd left13:45
eka joined13:45
neohe joined13:45
samw joined13:45
raijin joined13:45
z8z left13:46
dhilipsiva left13:46
wwwald_ joined13:47
rasguanabana joined13:48
wwwald left13:50
eka left13:50
henbruas left13:52
ck_mfc joined13:52
dstarh left13:53
samw left13:53
livingstn joined13:56
Silenced left13:56
fwdit left13:56
mizu_no_oto left13:56
eka joined13:57
ywecur_ left13:57
notebox left13:58
tristanseifert left13:59
samw joined14:00
rscata left14:00
bsanford left14:01
Borkr left14:04
sbasso left14:04
jceb left14:04
shiriru joined14:05
sbasso joined14:05
jceb joined14:05
doppo left14:07
samw left14:07
doppo joined14:08
cdg joined14:09
mizu_no_oto joined14:09
cdg left14:09
cdg joined14:09
oxsyn joined14:10
mezod joined14:11
GT4066 joined14:11
zivester left14:11
jimi_ joined14:12
mylord joined14:14
samw joined14:14
eletuchy joined14:14
liamonade left14:14
bsanford joined14:16
ManicPanic left14:16
Junior joined14:17
happy-dude joined14:18
eletuchy left14:18
liamonade joined14:18
ays joined14:19
ays how do I revert changes with git?14:19
subscope left14:20
gitinfo set mode: +v14:20
Vampire0 ays, man git revert14:21
gitinfo ays: the git-revert manpage is available at http://jk.gs/git-revert.html14:21
sanketdg joined14:22
rasguanabana Hello. I have a strange problem. I'm trying to checkout to a remote branch, but git checkout gives no output and stays on the current branch. echo $? prints 0. Is this a normal behaviour?14:22
sgambino joined14:23
liamonade left14:24
canton7 rasguanabana, what exactly do you mean by "checkout to a remote branch"?14:24
that's not a phrase which is in common git usage :P14:24
liamonade joined14:25
cek joined14:25
subhojit777 joined14:25
reim joined14:25
cek how do i create an empty commit and reference a file?14:26
grawity depends on what you really meant by "referencing a file" here14:26
Vampire0 or empty commit :-D14:26
grawity well empty commit is clear14:26
but empty commit combined with additional requirements isn't14:26
since that wouldn't really *be* an empty commit anymore14:26
cek commit with a mesasge, so that git log file, would output that commit14:26
grawity can't do that14:27
samw left14:27
cek git sucks!14:27
grawity no u14:27
cek i too14:27
but git14:27
canton7 cek, not sure how the commit can be both empty and have a message, an reference a file?14:27
rasguanabana canton7: well, good to know :D I just cloned repository and tried to checkout to a certain branch and it silently fails.14:27
Vampire0 git does not suck, your requirement is just ridiculous cek14:27
grawity canton7: empty as in no changes14:28
canton7 rasguanabana, what do you mean by "checkout to a certain branch"?14:28
rasguanabana, what command are you running?14:28
grawity cek: all commits already "reference" all files in the repo14:28
cek: so `git log <file>` specifically looks for those commits where that file was changed14:28
cek what do you propose?14:28
rasguanabana canton7: git checkout <branch-name>14:28
grawity cek: make some sort of dummy change14:28
cek i could change file attr, but that aint tracked14:28
canton7 rasguanabana, ok, that's checking out a branch, not checking out to a branch14:29
rasguanabana, !repro14:29
gitinfo rasguanabana: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://gist.github.com/2415442 ) of your terminal session.14:29
Vampire0 rasguanabana, if it does nothing you are probably on that branch already14:29
grawity cek: if the comment is important, maybe it's actually a good idea to edit the file itself to say "please see commit log for important details"14:29
cek: otherwise, do something like chmod +x the file14:29
though of course you'll need to chmod -x it back in another commit14:29
flavi0 left14:29
reim_ joined14:29
mehola joined14:29
Macaveli joined14:29
dhilipsiva joined14:30
cek yes, that might work. thanks!14:30
reim left14:31
bronson joined14:31
_0xAX left14:31
eka left14:32
rasguanabana Vampire0: no, git status says I'm not. That's the problem.14:32
italoacasas joined14:32
cyan__ joined14:32
canton7 rasguanabana, pastebin showing everything you're seeing, please14:32
mflow left14:32
rasguanabana canton7: just a sec, i'm on it.14:32
phaleth joined14:33
Lunatrius left14:33
raijin left14:33
mehola left14:34
cek left14:34
pandeiro joined14:34
rasguanabana canton7: https://gist.github.com/rasguanabana/c6c4b11f986c38cfb0c814:34
canton7 rasguanabana, output of 'git branch -a'?14:35
bronson left14:35
reim_ left14:36
mayankgupta joined14:36
bsanford left14:36
rasguanabana canton7: https://gist.github.com/rasguanabana/d9cef0e0c47fc34aadf514:36
canton7 rasguanabana, interesting. what about the full form? git checkout -b cmake origin/cmake14:37
mostlybadfly left14:37
t0by joined14:38
rasguanabana canton7: adrian@tux3 /tmp/sdr-2016 $ git checkout -b cmake origin/cmake14:39
Branch cmake set up to track remote branch cmake from origin.14:39
Switched to a new branch 'cmake'14:39
Lunatrius joined14:39
eka joined14:39
rasguanabana Now it works :)14:39
chll left14:39
Vampire0 rasguanabana, do you maybe have a tag "cmake" that points to development?14:39
canton7 rasguanabana, do you have a file called 'cmake' in the root of your repo?14:39
a tag's also a good shout: check both14:40
Vampire0 ah, or that14:40
Dougie187 joined14:40
Vampire0 :-)14:40
I bet for the file14:40
rasguanabana Oh well, there's a directory called cmake14:40
Vampire0 or that14:40
canton7 that'll be it14:40
Vampire0 so I guess "git checkout cmake --" would have worked14:40
canton7 'git checkout <branch which doesnt exist locally, but origin/XXX exists>' is magic14:41
an probably gets tested after the usual cases: local branch exists, and file/dir exists14:41
Vampire0 or "cd <some subdir> && git checkout cmake"14:41
shiriru left14:42
Borkr joined14:42
rasguanabana Hm, that one was tricky :D canton7, Vampire0, Thanks for help guys!14:43
canton7 :)14:43
acolson joined14:43
presto joined14:43
lindenle joined14:45
ays left14:45
fishcooker joined14:45
Vampire0 yw14:45
fishcooker left14:46
fishcooker joined14:46
mayankgupta left14:47
reim joined14:47
LeBlaaanc left14:47
rasguanabana left14:48
notebox joined14:48
lindenle left14:49
mylord left14:50
Gamecubic joined14:51
strayPuppy joined14:52
dersand joined14:54
ruskie left14:54
ruskie joined14:54
dersand When pushing and the server has setup a post-recieve hook, will it load .bashrc when inside post-recieve i call "source ~/.bashrc"?14:54
jokester joined14:55
tomog999_ joined14:55
Macaveli left14:56
samw joined14:56
King_Hual joined14:57
a_thakur joined14:57
tomog999 left14:59
floatingpoint joined14:59
jeffreylevesque left14:59
dsdeiz is there a way to get the name of the previous branch?15:00
samw left15:00
lindenle joined15:02
sbasso left15:03
achadwick joined15:03
_ikke_ git rev-parse --abbrev-ref @{-1}15:03
e01_ joined15:04
mizu_no_oto left15:04
jeffreylevesque joined15:05
David1977|2David197715:05
dersand left15:05
AaronMT joined15:06
slayerjain joined15:07
mylord joined15:07
reim left15:08
e01_ left15:08
crose joined15:08
JeroenT left15:09
dsdeiz _ikke_: perfect! thx!15:10
Cata|Work left15:11
JeroenT joined15:12
DolphinDream can you have client hooks reside in a global location ? instead of installing them in every single repo ?15:12
sbasso joined15:12
trini7y joined15:13
Silenced joined15:13
Silenced left15:13
Silenced joined15:13
osse o15:13
no15:13
but you can make installing them easier15:14
DolphinDream :) yeah. i guess i can script that15:14
osse like for example putting the hooks in the repo and have build target that symlinks them15:14
_ikke_ You can update the templates git uses fro creating the repositories15:14
eijk joined15:14
sbasso left15:15
samw joined15:15
DolphinDream _ikke_, that would work for new repos. i'm considering having current repos have access to a common set of hooks15:15
eletuchy joined15:15
jottr left15:15
pandeiro left15:16
DolphinDream osse, you suggest putting common hooks in a repo.. and have other repo hooks symlink the hooks in the hookRepo ?15:16
osse DolphinDream: no I suggest putting hooks relevant for one repo into that repo15:16
sbasso joined15:16
whomp joined15:16
DolphinDream cool15:17
infra-red joined15:17
notebox left15:18
osse is it?15:18
CheckDavid joined15:18
sbasso left15:19
jwest left15:19
eletuchy left15:20
settermjd joined15:20
lindenle left15:20
whomp left15:21
codeman left15:22
jottr joined15:23
a_thakur left15:23
eka left15:23
jwest joined15:23
sbasso joined15:24
eletuchy joined15:24
fscala left15:25
dreiss joined15:25
afuentes left15:25
samw left15:25
fscala joined15:26
reim joined15:26
sbasso left15:26
King_Hual left15:27
mahendra_ left15:27
a_thakur joined15:28
cmosguy joined15:28
sbasso joined15:28
JimZat joined15:28
bsanford joined15:28
King_Hual joined15:28
mmlb joined15:29
eka joined15:30
Silenced left15:32
nofacade joined15:32
eletuchy left15:32
Meteorhead left15:32
lb left15:33
reim_ joined15:33
reim left15:34
dhollinger joined15:34
daito joined15:34
samw joined15:35
NOTevil joined15:35
trini7y left15:37
dsop joined15:37
wrouesnel1 left15:38
pandeiro joined15:39
daito left15:39
oich left15:39
xelxebar joined15:40
JimZat left15:41
ajf- joined15:41
whomp joined15:41
dhilipsi_ joined15:41
fishcooker left15:41
infra-red left15:42
King_Hual left15:42
jaafar joined15:43
dhilipsiva left15:43
sparetire_ left15:43
Silenced joined15:43
Silenced left15:43
Silenced joined15:43
King_Hual joined15:44
JimZat joined15:44
toothe left15:44
sangy joined15:45
tomog999_ left15:45
neohe_ joined15:46
whomp left15:46
xelxebar left15:46
trini7y joined15:47
raijin joined15:47
ugjka joined15:47
trini7y left15:47
trini7y joined15:47
samw left15:48
codeman joined15:48
neohe left15:49
JimZat I am using git to maintain a software repository for which we have multiple customers with custom changes which are isolated within branches. One of our customers has asked for our codebase, but I am unwilling to expose other customer's proprietary information. Is there a simple way to STRIP branches so only that customers's information (and generic) branches are retained?15:50
sparetire_ joined15:50
Cata|Work joined15:52
Hedgework JimZat: There are two ways to go about this, depending on your exact needs:15:52
JimZat: You could host the repo with gitolite, which unlike other mechanisms allows you to do per-branch access control, then give the customer in question access only to their branch(es).15:53
htcoder joined15:53
here_and_there joined15:54
Hedgework JimZat: Or, if it's more complicated than that, you can spend some time with reposurgeon doing some work to isolate the history and content relevant to that customer and create a clean output repo. The script you use can be saved and re-run in the future with minimal additions if you need to do it again after the project has evolved.15:54
shinnya joined15:54
bremner restricting read access was a bit of a hack in gitolite; not sure the current status15:55
thiago joined15:56
sbasso left15:56
Hedgework bremner: If you try to get more granular than per-branch...well, I want to look at that more closely before I trust it...but per-branch is fine.15:57
mayankgupta27 joined15:58
bremner ok.15:58
so it must do some magic behind the scenes, like making a temporary repo or so.15:59
jceb left15:59
acolson left15:59
David1977 left16:00
chitopunk joined16:02
dhilipsi_ left16:02
oich joined16:02
reim_ left16:02
JimZat Hedgework: Thanks, I will take a look at reposurgeon.16:03
mizu_no_oto joined16:03
astrofog joined16:03
Silenced left16:03
samw joined16:04
lamppid left16:04
bremner JimZat: you could just export a zip / tarball and mail it to them.16:04
Wetmelon joined16:05
DARSCODE joined16:06
DARSCODE left16:06
reim joined16:06
youser left16:07
mmlb left16:08
BigWillie joined16:08
Vampire0 Hedgework, I'd say just make a clone of your repo, make local branches for what they should be able to see, delete the remote from that clone and then repack the repo. I think this should strip out everything you don't want to show them16:09
yash9274 joined16:09
M3mphiZ left16:10
clemf joined16:11
kilo_bravo joined16:11
Sceorem left16:11
JimZat bremner: That is a possibility, except for the fact that this customer has multiple custom machines with related branches so it would require SOME work to make their multiple tar fiels.16:12
tvw joined16:13
raijin left16:13
tomog999_ joined16:13
bremner JimZat: *shrug*. You could probably script it. And you'd be _really_ sure about what you were releasing16:13
ericvw joined16:13
mmlb joined16:13
pandeiro` joined16:13
M3mphiZ joined16:13
crose left16:14
Neal|ZNC joined16:14
mwhooker left16:14
imdsm_ joined16:14
slayerjain_ joined16:14
Blkt_ joined16:14
stonerfish joined16:14
daynaskully joined16:14
elastix joined16:14
rom1504_ joined16:15
ixian8 joined16:15
Hedgework Vampire0: I'm not sure how cleanly they separated things, which is why I offered reposurgeon as an option. It would allow things like hiding names of branches that merges came from if they didn't want to give up other customers' names and stuff like that.16:15
Mekkis_ joined16:15
Fiouz left16:15
Remram_ joined16:15
_ikke__ joined16:15
whomp joined16:15
Fiouz joined16:15
kandros joined16:15
Hedgework Vampire0: The simpler solution you mention only works in cases where they did the separation very cleanly to begin with.16:15
bjoe2k4 left16:15
imdsm left16:15
Tee_Pee left16:15
manitu left16:15
deepy left16:15
sneke left16:15
naitsirhc left16:15
quizzi left16:15
mjbrender left16:15
cold_sauce left16:15
antispaceman left16:15
bittyx left16:15
Chinorro left16:15
t0by left16:15
slayerjain left16:15
johnny56_ left16:15
modin left16:15
timewalker left16:15
_ikke_ left16:15
Neal_ left16:15
BinGOs_ joined16:15
rom1504 left16:15
Remram left16:15
ixian left16:15
asd6a left16:15
pandeiro left16:15
synchronous left16:15
Mekkis left16:15
Blkt left16:15
ohcibi left16:15
modin joined16:15
timewalker joined16:15
mizu_no_oto left16:15
nofacade left16:15
sgambino left16:15
BinGOs left16:15
madduck left16:15
asd6a joined16:15
ohcibi_ joined16:15
naitsirhc joined16:15
madduck joined16:15
sgambino joined16:15
bittyx_ joined16:15
bjoe2k4 joined16:15
quizzi joined16:16
antispaceman joined16:16
slayerjain_slayerjain16:16
manitu joined16:16
Chinorro joined16:16
Tee_Pee joined16:16
yoh my laptop crashed and now git fsck reports that some object file is empty and overall "loose object ... is corrupt".16:16
imdsm_imdsm16:16
cold_sauce joined16:16
samw left16:16
johnny56 joined16:16
deepy joined16:16
unreal_unreal16:16
jeffreylevesque left16:17
yoh git log complaints yet about another object... how could I remedy the situation? everything but few last commits are on remotes16:17
(I think ;) )16:17
haaja joined16:17
synchronous joined16:17
t0by joined16:17
Alienpruts left16:17
noteness left16:18
bango2 joined16:18
mjbrender joined16:18
NOTevil left16:18
plasticboy left16:18
JimZat Vampire0: What exactly do you mean my "local branch"? "git checkout origin/<branch>"? Can I then do a "git clone --bare" to "delete the remote" and "repack"?16:19
howdoi left16:19
muthu left16:20
infra-red joined16:20
a_thakur left16:20
trini7y left16:21
htcoder left16:21
wwwald_ left16:21
plasticboy joined16:21
Silenced joined16:21
madewokherd left16:23
noteness joined16:24
Vampire0 JimZat, I mean "git branch foo origin/foo" and I mean man git repack16:24
gitinfo JimZat: the git-repack manpage is available at http://jk.gs/git-repack.html16:24
sbasso joined16:24
dhcpfreely joined16:24
a_thakur joined16:25
rubyonrailed joined16:25
rom1504_ left16:25
KennyRayFL joined16:26
rom1504 joined16:26
reim_ joined16:26
doppo left16:26
silentz0r joined16:27
subhojit777 left16:27
tomog999 joined16:27
tomog999_ left16:27
reim left16:27
Silenced left16:27
Silenced joined16:27
doppo joined16:27
gfixler left16:28
staticshock joined16:28
TomyWork left16:28
ck_mfc left16:30
mehola joined16:31
whomp left16:32
reim_ left16:32
NOTevil joined16:32
akagr joined16:32
eletuchy joined16:32
diegoviola joined16:32
bronson joined16:33
JeroenT left16:33
Balliad left16:34
Alienpruts joined16:34
reim joined16:34
subhojit777 joined16:35
mehola left16:35
Noldorin joined16:35
raijin joined16:36
eletuchy left16:37
bronson left16:38
infra-red left16:38
mehwork joined16:38
clemf left16:38
timewalker left16:38
mehwork if i'm in a subdir of a branch and do commands like 'git merge master', it should work the same as if i was in the root of the project where the .git folder resides right?16:38
timewalker joined16:38
LeBlaaanc joined16:39
Bombe mehwork, what happens when you tried it?16:39
clmsy left16:39
LeBlaaanc left16:39
LeBlaaanc joined16:40
cagmz joined16:40
sbasso left16:41
tang^ joined16:41
Grum joined16:41
RudolphFenz joined16:43
RudolphFnz joined16:43
sbasso joined16:43
infra-red joined16:43
BigWillie left16:45
rodolfowtf joined16:45
reim left16:45
samw joined16:46
Raging_Hog left16:46
reim joined16:47
aard_ joined16:48
eijk left16:49
akushner_ joined16:49
infra-red left16:49
hvoigt joined16:49
whitby joined16:49
kadoban joined16:50
grawity mehwork: yes, such commands are repo-global16:51
mehwork: why do you ask?16:51
Ahmed90 joined16:52
e01_ joined16:52
diegoviola left16:53
sanketdg left16:54
reim left16:54
mizu_no_oto joined16:54
LBV_User left16:54
oich left16:55
samw left16:56
clevodearia left16:56
Kicer86 joined16:56
e01_ left16:57
oich joined16:58
medeirosthiiago joined16:59
madewokherd joined17:00
diegoviola joined17:00
reim joined17:01
nilsi left17:01
akagr left17:02
Alienpruts left17:02
Gonzo89 left17:03
crose joined17:04
acetakwas joined17:04
jonmorehouse joined17:04
gitinfo set mode: +v17:04
medeirosthiiago left17:05
thiago left17:05
JeroenT joined17:05
samw joined17:06
mehwork curious thx17:06
Rull joined17:06
dantix__ left17:06
medeirosthiiago joined17:06
JeroenT left17:07
Mobutils joined17:08
Silenced left17:08
daynaskully left17:08
slayerjain left17:09
lindenle joined17:10
samw left17:10
permalac hello guys.17:10
catphish joined17:10
permalac can I download a single file from a repo?17:10
I know the name of the file .17:10
or a single directory would also work .17:10
jottr_ joined17:10
catphish how is a server expected to handle "request-pull"?17:11
_ikke__ catphish: what server?17:11
catphish: request-pull does not talk to any server17:11
catphish a git server17:11
aclearman037 left17:11
_ikke__ permalac: Where is this repository hosted?17:11
r_rios left17:11
CheckDavid left17:11
daynaskully joined17:11
permalac on another server , I have the keys exchanged and I can clone from it.17:11
lindenle left17:11
r_rios joined17:12
_ikke__ permalac: man git archive17:12
gitinfo permalac: the git-archive manpage is available at http://jk.gs/git-archive.html17:12
permalac but on an automated process I just want to download a single file , or directory.17:12
lindenle joined17:12
Rull left17:12
catphish _ikke__: the man page says "you run this command...request-pull...which will produce a request to the upstream, summarizing the changes between the v1.0 release and your master, to pull it from your public repository"17:12
jottr left17:12
catphish _ikke__: if it doesn't talk to a server, what does it do?17:12
_ikke__ It produces a request17:12
Literally just that17:12
catphish oh, it just produces a document you can email to someone?17:13
_ikke__ yes17:13
akagr joined17:13
permalac _ikke__, but I can not make it work with a remote repo.17:13
catphish _ikke__: oh ok, i wont worry about that then :)17:13
_ikke__ It does contact another server, but that's to verify what the server has17:13
catphish _ikke__: thanks17:13
lindenle left17:13
_ikke__ permalac: What did you try?17:13
JimZat left17:14
Silenced joined17:14
Silenced left17:14
Silenced joined17:14
samw joined17:15
lindenle joined17:16
subbero_ joined17:16
permalac _ikke__, git archive git@server01:/home/git/repos/openstack.git HEAD script_post_install_kvm.sh17:16
_ikke__, git archive --remote=ssh://git@server01/home/git/repos/openstack.git HEAD script_post_install_kvm.sh17:16
_ikke__, the last one.17:16
jor_jor17:16
liri_ joined17:17
presto left17:17
dsantiago left17:18
axelitus joined17:18
pandeiro` left17:18
freimatz left17:18
catphish left17:18
permalac _ikke__, my bad, I was not putting the full path of the file. Now I just have to fix how to store it as a text file17:18
akagr left17:18
King_Hual` joined17:19
a_thakur left17:19
daynaskully left17:19
Jellyg00se left17:19
subhojit777 left17:19
subhojit777 joined17:20
Rodya_ joined17:20
m1dnight_ left17:20
rodolfowtf left17:20
_ikke__ | tar xf17:20
xf -17:20
daynaskully joined17:20
samw left17:21
m1dnight_ joined17:21
imachuchu joined17:21
rodolfowtf joined17:21
clevodearia joined17:21
dersand joined17:21
ThomasLocke left17:21
dersand I'm really confused atm. Which .dotfile like .bashrc and .profile run when post-receive executes?17:22
King_Hual left17:22
achadwick left17:22
permalac _ikke__, I'm not understanding. I'm downloading a .sh file17:23
MutantMahesh joined17:24
aditya_ joined17:24
_ikke__ permalac: I might be mistaken, but I thought git archive by default uses a tar to transfer files17:24
permalac so | tar - at the end17:24
jost joined17:24
_ikke__ yes17:25
staticshock left17:25
samw joined17:25
ferr left17:26
MadHatter42 left17:26
gitinfo set mode: +v17:27
aditya_ hi i am new to git..although i have used git for sometime.now i wish to develop some small things for git.can anyone please guide me to it ?17:28
permalac _ikke__, excelent | tar xf -17:28
_ikke__, thanks17:28
JeroenT joined17:28
mizu_no_oto left17:29
_ikke__ aditya_: development of git happens on the !mailing_list. You can send patches there. Make sure you read Documentation/SubmittingPatches in the git tree17:29
gitinfo aditya_: The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist17:29
fbwnnd joined17:29
JimZat joined17:30
osse dersand: none17:30
mayankgupta1996 joined17:30
kurkale6ka left17:30
sergio1234 joined17:31
aditya_ _ikke__:thanks17:31
mehola joined17:31
JimZat Vampire0: Thanks for the assistance, I will look into that.17:32
dersand osse, remember me from earlier? I was the one with the issue with post-receive. After some digging, when running source ~/.bashrc, it does NOTHING. So you can't export anything inside post-receive17:32
astrofog left17:33
osse dersand: you can export anything you like17:33
stonerfish left17:33
leeN left17:33
dsdeiz is there a factoid for cherry picking?17:34
mayankgupta27 left17:34
milki dsdeiz: !bot has a list17:34
gitinfo dsdeiz: [!gitinfo] I am an IRC bot which responds to certain keywords to provide helpful(?) information to humans. Please see http://jk.gs/git/bot for more information about how to (ab)use me.17:34
mayankgupta1996 left17:34
freimatz joined17:35
aditya_ left17:35
daito joined17:35
kpease joined17:35
staticshock joined17:35
jaaronamo joined17:36
hahuang61 left17:36
mehola left17:37
_pix left17:37
ChanServ set mode: +o17:37
dsdeiz i see.. guess there isn't17:37
WayToDoor joined17:37
Eugene changed the topic to: Welcome to #git! First visit? Read: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Current stable version: 2.7.2 | Commits are not objects of love, and should not be judged by their size.17:37
_ikke___ikke_17:37
mehwork left17:38
Seveas all that matters is the commit size vs commit message size ratio17:38
_ikke_ lol17:38
Eugene set mode: -o17:38
d4rklit3 joined17:39
jonesinator left17:39
daito left17:40
mezod left17:40
kballou joined17:40
osse dersand: there seems to be some confusion as to what exactly happens when a hook is executed17:40
zeroed joined17:40
zeroed left17:40
zeroed joined17:40
osse dersand: bash does not read any files when you do bash -c 'foo' or execute a file with #!blabla at the top.17:41
zeroed left17:41
gechr_ left17:41
osse dersand: if you create a trivial hook that has env | grep ROFL; export ROFL=lol; env | grep ROFL in it I am confident that the first grep will don't print anything but the second one will.17:41
durham joined17:42
dersand osse, hold on, are you saying i should remove the #!/bin/bash declaration?17:42
osse no17:42
thiago joined17:42
liamonade left17:43
osse I am just telling you what's what. I'm not sure what you're trying to accomplish17:43
You can export in a hook just fine, but the export will only be valid for the duration of the hook itself.17:43
Such are the brutal facts of the environment17:44
sergio1234 left17:44
exarch left17:45
subhojit777 left17:45
pflanze left17:45
_noblegas left17:46
troulouliou_div2 joined17:47
dreiss left17:48
bbbthunda joined17:51
IWishIKnew joined17:51
dan2k3k4 left17:51
editshare-ericf joined17:52
aclearman037 joined17:54
ErKa left17:55
Oog joined17:55
gtristan joined17:55
Foren left17:55
Guest55 joined17:55
Anticom left17:57
subhojit777 joined17:57
medeirosthiiago left17:57
mns joined17:58
strayPuppy left17:58
thiago left17:59
dersand osse, wouldn't that mean that if i setup an environmental variable, run a program through $envnmntl_var/path/to/startup.sh and then the hook-scope dies out, the script could no longer execute since it's dependant on the environmental variable?18:00
osse dersand: whenver you start an new process that process receives a *copy* of the environment.18:01
TL;DR: no18:01
mmlb left18:01
dersand Yeah, totally forgot about that.18:01
osse if that process does some daemonizing magic so that it continues to run in the background after the hook completes nothing changes18:01
dersand I find it just strange that i source'd bash and still hadn't any new exported variables, since i appended "export PATH=/blah/" in .bashrc.18:02
e01_ joined18:03
andres2 joined18:03
BigWillie joined18:03
BigWillie left18:03
osse what does "source'd bash" mean?18:03
dsantiago joined18:04
dersand source ~/.bashrc18:04
dhollin3 joined18:04
andres2andres18:04
osse you did that in the hook ?18:04
dhollinger left18:05
dersand Yes18:05
daynaskully left18:05
osse if that does exports then I would expect to see them.18:05
Borkr left18:05
dersand Well i double checked with $SHLVL which counts the level how many times you write bash18:06
default is 1, then i guess every time you write bash it stacks up18:06
osse But keep in mind it might source /home/git/.bashrc and not /home/dersand/.bashrc18:06
dersand Oh for the love of god18:06
osse depends a bit on how you host the repos18:06
do you push to [email@hidden.address] ?18:06
dreiss joined18:06
ramsub07 joined18:07
dersand git push live master, where live = git remote add ssh://user@ip-adress:/srv/repo18:07
ash_workz left18:07
e01_ left18:07
osse then it will use .bashrc in the home directory of 'user'18:07
dhollin3 left18:07
RudolphFnz left18:08
dersand i did whoami to debug, it was the same as the username18:08
i ssh'd to18:08
can i debug "~"?18:08
RudolphFenz left18:08
osse sure18:08
echo ~18:08
RudolphFenz joined18:08
Guest55 left18:08
osse or echo "$HOME". same thign18:09
Guest55 joined18:09
dersand It pointed to /home/usernameisshto18:10
r_rios left18:10
thiago joined18:10
mischat_ joined18:10
osse and does /home/usernameisshto/.bashrc contain export FOO=bar ?18:10
JimZat left18:10
Guest55 left18:10
dersand Yep18:10
osse then I don't know18:10
dersand I guess i could try echoing some stuff inside .bashrc18:11
grawity `set -x` please18:11
douglascorrea joined18:11
HanClinto joined18:11
osse dersand: can you show me the hook and the installscript thingy? I suspect the source of the bug might be in there18:11
Oog left18:11
mizu_no_oto joined18:12
dersand It's working, instead of trying to reload the .bashrc i'm just manually exporting to env18:12
BigWillie joined18:12
dersand It's just i want to really work out what's being wrong here18:12
r_rios joined18:12
r_rios left18:12
r_rios joined18:12
mezod joined18:12
ribas joined18:12
GT4066 left18:13
bumbar_ left18:13
osse it's a learning opportunity!18:13
clevodearia left18:13
mischat left18:13
mischat_ left18:14
ELFrederich joined18:16
dreiss left18:16
Glooomy joined18:16
ramsub07 left18:16
mezod left18:17
ELFrederich is there a way to get a diff from Git which would represent the changes of something like a GitLab / GitHub merge request? Like, not the actual diffs between A) some_branch, and B) master, but a diff between A) an imaginary merge commit of some_branch + masterm and B) master18:18
ramsub07 joined18:18
Seveas ELFrederich: I think you're after what git merge-tree outputs18:20
ezefarin_ joined18:20
hate joined18:21
subhojit777 left18:21
afuentes joined18:22
Guest55 joined18:22
blackwind_123 joined18:22
acetakwas left18:22
ezefarina left18:22
Wetmelon left18:23
MutantMa_ joined18:25
ezefarin_ left18:25
ezefarina joined18:25
btree joined18:25
gfixler joined18:25
ramsub07 left18:25
Guest55 left18:26
MutantMahesh left18:27
terminal_echo joined18:28
gitinfo set mode: +v18:28
BigWilli_ joined18:28
BigWillie left18:29
terminal_echo left18:29
Darcidride joined18:29
hate left18:29
BinGOs_ left18:30
btree left18:31
rodolfowtf left18:31
Rodya_ left18:31
BinGOs joined18:32
sangy left18:32
EvilPenguin joined18:32
Rodya_ joined18:33
pantsman- joined18:34
eletuchy joined18:34
ezefarina left18:34
jottr_ left18:34
ezefarina joined18:34
ezefarina left18:34
PaulePanterPaulePanetr18:35
PaulePanetrPaulePanter18:35
bronson joined18:35
douglascorrea left18:35
rodolfowtf joined18:35
rodolfowtf left18:35
douglascorrea joined18:36
fracting left18:37
rodolfowtf joined18:37
rodolfowtf left18:37
josuebrunel left18:37
PCatinean left18:37
Rodya_ left18:37
lolmac left18:38
sbasso left18:38
Sasazuka joined18:38
EvilPenguin left18:38
lolmac joined18:38
thebinary joined18:39
eletuchy left18:39
rodolfowtf joined18:39
rodolfowtf left18:39
bronson left18:40
rodolfowtf joined18:41
rodolfowtf left18:41
daynaskully joined18:41
infra-red joined18:41
ramsub07 joined18:42
IWishIKnew left18:44
kfoonamalik joined18:45
Remram_ left18:45
tjbp left18:45
rodolfowtf joined18:46
rodolfowtf left18:46
Remram joined18:46
MutantMa_ left18:47
Timberwo|f joined18:47
MutantMahesh joined18:48
rodolfowtf joined18:48
rodolfowtf left18:48
LekeFly joined18:49
rodolfowtf joined18:50
rodolfowtf left18:50
toogley joined18:50
zadock joined18:50
Silenced left18:50
King_Hual_ joined18:51
jost left18:52
aard_ left18:52
meloc joined18:52
qballer joined18:53
hahuang61 joined18:53
qballer hey guys I can't seem to delete a sensitive file from all git repo, does anyone know a full prof way ?18:54
emPi left18:54
King_Hual` left18:55
boombatower joined18:55
nettoweb left18:56
emPi joined18:56
tobiasvl qballer: !sensitive18:56
gitinfo qballer: [!filter_sensitive] You can use filter-branch to remove sensitive data from a repository's history. https://help.github.com/articles/remove-sensitive-data/18:56
bronson joined18:57
troulouliou_div2 left18:57
hahuang61 left18:58
troulouliou_div2 joined18:58
otho joined18:58
jagob joined18:59
crose left18:59
paddyez joined18:59
yash9274 left19:00
mylord left19:00
whomp joined19:01
oghamb joined19:01
medeirosthiiago joined19:02
Seveas qballer: bfg.19:02
mischat joined19:02
EvilPenguin joined19:03
liamonade joined19:05
nnyk left19:05
thebinary left19:05
MutantMahesh left19:05
fbwnnd left19:06
qballer can you tell me the specific command because it doesn't seem to work Seveas19:06
MadHatter42 joined19:06
Seveas https://rtyley.github.io/bfg-repo-cleaner/19:06
e01_ joined19:06
MutantMahesh joined19:07
nettoweb joined19:07
qballer http://stackoverflow.com/questions/35755923/remove-file-from-all-git-history19:07
tanimislam joined19:07
qballer Seveas: I tried it.19:07
oghamb left19:09
raijin left19:10
roelmonnens joined19:10
liamonade left19:10
leeN joined19:11
m0viefreak joined19:13
dreiss joined19:14
weylin joined19:15
settermjd left19:15
tjbp joined19:15
codeman left19:15
sgambino left19:17
enter_ joined19:17
lolmac left19:17
MutantMahesh left19:17
Glooomy left19:17
bongjovi_ joined19:18
settermjd joined19:18
clevodearia joined19:19
doener left19:19
e01_ left19:20
tjbp left19:20
settermjd left19:20
punto left19:21
punto joined19:21
enter_ left19:22
bongjovi left19:22
infra-re_ joined19:23
nickthetait1 joined19:24
infra-red left19:25
infra-red joined19:26
nickthetait left19:26
liamonade joined19:28
sauvin left19:29
cdg left19:29
infra-re_ left19:29
daynaskully left19:29
liamonade left19:29
ramsub07 left19:30
mricon joined19:30
pfloyd joined19:31
bronson left19:31
mi100hael joined19:31
pfloyd I have a situation where I have a git repo sitting on NFS, but need to allow users without the necessary Unix group to clone it. Does anyone have a pointer to the proper SSH key/auth magic to do this? This is not OpenSSH by the way, but F-Secure(commercial) SSH, so it's using the authorization file, not authorized_keys so slightly different format.19:32
daynaskully joined19:32
crose joined19:32
NeverDie left19:32
sangy joined19:32
Seveas git repos on nfs sounds like a bad idea to start with. And ssh can't work around permission restrictions for you.19:33
so instead of working around the bad design, why not fix it? :)19:33
pfloyd not an option.19:33
I wish it were, but it's not. and ssh does work around it, because I have an account that has the necessary groups and was hoping to allow the users to execute the clone command as that user (via ssh) but obviously not arbitrary commands.19:34
bronson joined19:34
roelmonnens left19:34
Seveas it's nice to mention such things when you ask a question. How could we guess that?19:35
anyway, openssh allows you to force a command in the authorized keys file. If f-secure ssh can do that, there's your solution19:35
man git-shell is your friend in that case19:35
gitinfo the git-shell manpage is available at http://jk.gs/git-shell.html19:35
pfloyd that requires them to chsh?19:36
Seveas no19:36
wilsoncd35 left19:36
pfloyd ok19:36
Seveas in an openssh authorzied_keys file you'd add something like: command=/usr/bin/git-shell ssh-rsa AAAA....19:36
espindola joined19:36
Mobutils left19:36
Seveas that forces all logins to use git-shell as command, whatever the user specifies.19:36
eletuchy joined19:37
pfloyd right, ok. yes I believe authorization in f-secure ssh has the same features, thanks.19:37
fscala left19:37
Seveas another useful thing to do: in the same file you can set environment variables. Use that to set something to identify the user.19:37
pfloyd good point19:38
fscala joined19:38
Seveas environment="SSH_USER=someuser" command="/usr/bin/git-shell" ssh-rsa AAAAB3Nza19:38
MutantMahesh joined19:39
presto joined19:39
pfloyd yep. thanks again19:39
Mobutils joined19:39
enter_ joined19:40
ramsub07 joined19:40
netj left19:40
netj joined19:40
medeirosthiiago left19:40
infra-re_ joined19:41
colept joined19:41
eletuchy left19:41
raijin joined19:41
gitinfo set mode: +v19:42
enter_ hi, did someone here.19:42
I am cloning a repo then made few change. After that i make a PR,19:42
Sadly it should involve new commit. The expectation of the maintainer matches. But he ask to do some rebase.19:42
Ok then i rebase, but some file are changes maybe by git or by my text editor. Then i rebase again to exclude those file. but it fail.19:42
i try to rebase over and over, fail, or even i do stupid rebase. from the reflog i can tell that.19:42
i do 3 commit with ammend, 3 rebase and 3 rebase with pick.19:42
My goal just make clear PR with clean history, 1 file changes.19:42
i try make new branch and fetch from original repo but fail, when i compare it already have differences.19:42
i need some help and advice :(19:42
lolmac joined19:42
daynaskully left19:43
DolphinDream if you have the hooks versioen controller (e.g. in a hooks folder) and have the ./git/hooks files symbolically linked to the ./hooks files, wouldn't this have an undesirable effect ? if you checked out a branch that has a different version of that hook ?19:43
infra-red left19:44
Seveas not only that, it gives everybody with push access to your repo remote code execution on your box.19:44
'git pull' becomes 'git pull and execute unknown code before having a chance to even look at it'19:44
mricon when running "git bundle create" is there a way to maximize compression, or does it just reuse existing packs?19:44
qsx Seveas: well that’s why you don’t run git pull.19:45
Seveas qsx: try looking a few miles above you for the point :P19:45
daynaskully joined19:45
DolphinDream yeah.. so it's a potential security breach19:45
kfunk left19:45
TomyLobo joined19:46
Rodya_ joined19:46
DolphinDream i've seen some posts online about hooks that suggest this method.. and made me cringe a little :|19:46
silentz0r left19:47
qsx DolphinDream: s/ln/cp/ :>19:47
DolphinDream yep19:47
it has to be a conscious user driven decision19:47
oich left19:48
HanClinto left19:48
woxidu left19:48
tjbp joined19:49
radsy joined19:49
woxidu joined19:50
infra-red joined19:50
infra-re_ left19:52
pandeiro joined19:54
colept Looking for advice how to manage two sites using the same code base.19:55
Should I use a Master Repo which is the upstream for two child repo's19:55
troulouliou_div2 left19:55
liamonade joined19:57
liamonade left19:58
sargas joined19:58
josuebrunel joined19:59
RudolphFenz left19:59
PryMar56 joined20:00
tobiasvl colept: do the two sites have differences? what are they, if so?20:00
ramsub07 left20:00
nb_bez___ joined20:00
liamonade joined20:01
colept tobiasvl: They will be visually different but running on the same code base20:01
tobiasvl visually different? what does that entail20:01
colept If I had an analogy, it would be like subreddits on different domains20:01
CSS and Configuration Differences20:01
tobiasvl ah. websites20:01
aidalgol joined20:02
ash_workz joined20:03
eijk joined20:03
tobiasvl colept: do you have a deploy mechanism? you could include everything in the repo, and the deployment renames the correct css files or config files so they're actually used by the deployed website?20:04
not sure what best practice is20:04
MadHatter42 left20:04
tobiasvl but yes. two subrepos for each site and the common code in a super repo would also work fine20:04
colept Currently I deploy from a local repo to a remote which does a checkout to the production directory20:04
sgambino joined20:04
tobiasvl colept: this looks relevant https://groups.google.com/forum/#!topic/git-users/_zG5BqMRCTE20:05
(forks are obviously the wrong solution, but maybe it's helpful anyway)20:06
stephaneyfx joined20:06
ramsub07 joined20:06
fahadash joined20:07
colept By fork you mean the Master <-> 2X Child Repo?20:07
nettoweb left20:07
colept Or Master <=> Master20:07
enter_ left20:07
tobiasvl no fork is just a github think that was mentioned in that google groups post20:08
stephaneyfx left20:08
tobiasvl also don't call the super repo "master", that might be confusing (master is usually a branch)20:09
stephaneyfx joined20:09
enter_ joined20:09
colept sure, Parent it is20:09
Base20:09
mrkat left20:10
infra-red left20:13
nettoweb joined20:14
gitinfo set mode: +v20:14
EvilPenguin left20:14
stephaneyfx Hi everyone. Sorry if this is a silly question. With git-svn, .git/refs/remotes/origin is empty but "git branch -a" and "git show-ref" show all the svn branches and tags. I can see they are in .git/svn/refs/remotes/origin, but why would a non-svn git command look in there?20:14
nettoweb left20:14
dhollinger joined20:16
qballer left20:17
David1977 joined20:17
MutantMahesh left20:17
MadHatter42 joined20:18
pfloyd Seveas: I must be doing something wrong, because I just get dumped to a git> prompt with git-shell if I try "git clone ssh://user@localhost/path/to/repo20:18
tobiasvl stephaneyfx: why would it? git-svn is a way to have a local git repo that has an svn remote20:18
LekeFly left20:19
tobiasvl stephaneyfx: why would non git-svn commands need to be able to see the svn remote, and what would they be able to do with it?20:19
or am I misunderstanding something here20:19
ToxicFrog tobiasvl: the question is "non git-svn commands can see the git-svn remotes. Why?"20:19
Seveas pfloyd: or f-secure ssh doesn't set SSH_ORIG_COMMAND the way openssh does. git-shell uses that to know what it has to do.20:20
ToxicFrog Oh, I think I see what's going on20:20
stephaneyfx tobiasvl: Thank you for your answer. That's my question. I would like to understand how "git branch -a" and "git show-ref" list references I cannot see under .git/refs.20:20
ToxicFrog stephaneyfx: what you're seeing there are the branches and tags imported from svn, in .git/refs/{heads,tags}20:20
ahr3n joined20:20
ToxicFrog *not* the svn remotes20:20
Try "git remote" to list all remotes and you should see it empty.20:20
Tryop88 joined20:21
pfloyd Seveas: damn, if that's the case I'm SOL with git-shell then, might have to use gitolite20:21
jimi_ left20:22
tobiasvl indeed. the remote-tracking branches could be confused for remote20:22
UrsoBranco left20:22
Seveas pfloyd: you're SOL with that as well. Uses the same feature.20:22
pfloyd Seveas: well that I had working at one point20:22
Seveas pfloyd: set command="env" and see if the variable is set20:22
stephaneyfx ToxicFrog: Thank you. "git remote" indeed returns nothing. But it still doesn't explain why "git show-ref" shows references that are nowhere to be found in .git/refs.20:22
ToxicFrog stephaneyfx: "git show-ref" should show you not only the sha of the ref but where it's located in the filesystem20:23
e.g. 494f499c948a87038d6b31ba48e800133343e12a refs/heads/master20:23
What does it show for you?20:23
pfloyd Seveas: SSH_ORIGINAL_COMMAND=ls20:23
staticshock left20:24
tobiasvl stephaneyfx: .git/packed-refs ?20:24
stephaneyfx ToxicFrog: 103bfdac6bba16e810285b9d9f6d75be569a263d refs/remotes/origin/v1.0.x20:24
ToxicFrog Oh, I totally forgot that packed-refs exists20:24
stephaneyfx but there is no such file20:24
tobiasvl probably packed-refs20:24
pfloyd Seveas: SSH_ORIGINAL_COMMAND=git-upload-pack '/path/to/repo' if I use command="/usr/bin/env > /tmp/env.dump" and grep env.dump for SSH_ORIG20:24
stephaneyfx tobiasvl: You're right! The packed-refs file contains the references. Thank you very much!20:25
Seveas pfloyd: hmm, in the only setup where I use this, the user's shell is git-shell.20:26
woxidu left20:26
Seveas so I'm suddenly not so sure the force_command trick will work20:27
tobiasvl stephaneyfx: great! :)20:27
liri_ left20:27
nnyk joined20:27
Artpicre joined20:27
codeman joined20:27
EvilPenguin joined20:27
Seveas pfloyd: ok, tried it and it works.20:28
$ ssh dennis@localhost20:28
fatal: Interactive git shell is not enabled.20:28
hint: ~/git-shell-commands should exist and have read and execute access.20:28
Shared connection to localhost closed.20:28
ErKa joined20:28
pfloyd Seveas: yes, now mkdir ~/git-shell-commands. does it work then? or do you get dumped to a git> prompt ?20:29
liamonade left20:29
permalac left20:30
stephaneyfx ToxicFrog: tobiasvl: Thanks for your help, both of you. I am trying to follow the svn to git migration guide at http://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git. There is a part regarding moving the tags to proper git tags, but since my tags are not under .git/refs, should I just edit .git/packed-refs?20:31
Seveas git> prompt. I know what's going on.20:31
git-shell is not meant to be used this way, but can be used this way with a wrapper. That's what I got working in the past. Let's see if I can find it.20:31
cagedwisdom joined20:32
pfloyd Seveas: that would be terrific, thank you very much. Yeah, seems like it's intended to be in /etc/passwd and /etc/shells20:33
whomp_ joined20:33
whomp left20:34
hahuang61 joined20:34
tvw left20:34
nickthetait1 left20:35
ugjka left20:35
eijk left20:35
nettoweb joined20:36
Seveas pfloyd: make the forced command this: https://dpaste.de/LbMV20:36
waspinator joined20:36
Seveas (so put that in /usr/local/bin/git-shell-wrapper, and do command="/usr/local/bin/git-shell-wrapper")20:36
tobiasvl stephaneyfx: hm, interesting. I think they mean .git/svn/refs/remotes/origin/tags/*20:36
perhaps it's a new change that git-svn has its own refs directory?20:37
pfloyd Seveas: thanks, testing now20:37
staticshock joined20:37
eletuchy joined20:38
Seveas tobiasvl: (responding without knowing context) git-svn used to store its refs in a stupid place (directly in refs/remotes/), in recent versions (2.0.0+) that moved to refs/remotes/git-svn/20:38
hahuang61 left20:39
pfloyd Seveas: works great, will probably restrict which commands they can use to some extent, but I think this should work nicely, thanks again!20:39
stephaneyfx tobiasvl: Thank you again for taking the time to answer. The problem is that .git/svn/refs/remotes/origin/v1.0.x is not a file containg a sha-1, it is a directory. I thought reference files stored in .git/refs should just be files containing a sha-1.20:39
Seveas pfloyd: you're welcome :)20:40
tobiasvl stephaneyfx: what git version are you on? re: what Seveas said above20:40
liamonade joined20:40
Seveas .git/svn/ is probably just git-svn's internal storage, not actual git data20:41
tobiasvl hmmmm yes20:41
Seveas or at least it's not supposed to be20:41
(haven't done git-svn in ages)20:41
tobiasvl me neither :/20:41
s_/_)20:42
staticshock left20:42
Seveas hehe20:42
eletuchy left20:42
sbasso joined20:43
stephaneyfx Seveas: tobiasvl: I am using 2.7.0.windows.1. According the git-svn help, it's supposed to have a default prefix of "origin/" so as to not store stuff directly under remotes.20:43
according to*20:43
Seveas stephaneyfx: yeah, .git/refs/remotes, not .git/svn/20:43
terminal_echo joined20:43
kfunk joined20:43
mic4ael joined20:44
bollullera joined20:44
gfixler left20:45
stephaneyfx but anyway in my case nothing is stored under .git/refs/remotes/origin aside from an empty "tags" directory20:45
oich joined20:45
Seveas yeah, because of the packed refs :)20:45
PryMar56 left20:45
Tryop88 left20:45
phaleth left20:46
stephaneyfx so should I just go ahead and create my true git tags manually and delete the corresponding lines in packed-refs?20:47
mezod joined20:47
jwmann joined20:47
Seveas no20:48
mylord joined20:48
beagleGuy left20:48
ahr3n left20:48
Seveas you use git commands to manipulate tags and other git data, never hack in .git20:48
for example, git tag -d will delete a tag.20:48
tobiasvl Seveas: I think stephaneyfx wants to hack in .git because http://git-scm.com/book/en/v2/Git-and-Other-Systems-Migrating-to-Git tells us to20:49
mns left20:49
Seveas well, that's pretty shitty then20:50
ahr3n joined20:50
stephaneyfx Seveas: Sorry for being unclear. By manually I meant creating the tags using "git tag" instead of moving files as described in the migration guide.20:50
enter_ left20:51
Seveas stephaneyfx: as you might guess from my last few lines, I think that using git tag to create tags is a good idea :)20:51
stephaneyfx the only filesystem thing I am thinking of doing is editing packed-refs to remove references to these svn tags which were considered branches.20:51
Seveas don't. git update-ref -d refs/remotes/origin/tags/foo20:51
nickthetait joined20:52
enter_ joined20:52
stephaneyfx Seveas: oooh. yes that looks better! thanks.20:52
Seveas the only time hacking in .git is really justified is troubleshooting broken repos20:53
stephaneyfx Seveas: Makes sense.20:53
Seveas for normal uses, git has plumbing commands for everything and porcelain commands for lots of things.20:53
also, curiosity is a good reason to poke at .git :)20:54
floatingpoint hey. somehow, there are all these files in my branch that shouldn't be there. how can I determine how they got there?20:54
Seveas floatingpoint: git log path/to/file20:54
stephaneyfx Seveas: Yes, that's curiosity and trying to understand where those mysterious references were stored that got me looking into it.20:54
You have helped me a lot and I think I have enough information to get started. I will give a try to this migration and come back if I get stuck. Thank you again for all the help.20:55
Seveas stephaneyfx: man gitrepository-layout20:55
gitinfo stephaneyfx: the gitrepository-layout manpage is available at http://jk.gs/gitrepository-layout.html20:55
mic4ael left20:55
woxidu joined20:56
floatingpoint Seveas nothing in git log mentions my current branch20:56
diego4 joined20:56
Seveas yes it does. All it does is mentioning your current branch (unless you specify other parameters)20:56
diego4 left20:57
diego4 joined20:57
floatingpoint sorry. can you rephrease that20:57
rhnvrm joined20:57
stephaneyfx Seveas: I had looked at this page but missed the packed-refs section :p20:58
Seveas git log shows you all history that leads up to the current commit. So it shows the current branch.20:58
sgambino left20:58
diegoviola left20:59
skapunker left20:59
floatingpoint the latest item in git log my_file shows a merge between two other branches20:59
Seveas and all of that is now part of your branch20:59
floatingpoint how can i determien when the other branches were merged into my branch?21:00
Seveas git log tells you that...21:01
tobiasvl wasn't that exactly what you just said you saw in the log?21:01
skapunker joined21:01
bket left21:01
stephaneyfx left21:02
floatingpoint no. There is a statement "Merge branch "develop" of GITREPO into SOME_OTHER_BRANCH"21:02
some other branch != my current branch21:02
sgambino joined21:03
nilsi joined21:03
tpollard joined21:03
pfloyd Seveas: well crap, our IT has it configured such that SSH drops user env variables, so I can't tell who the original user is that's executing the command.21:03
tobiasvl floatingpoint: ok, so that's an older merge commit. where did that branch (SOME_OTHER_BRANCH) merge into your current branch? that's what you're looking for.21:03
floatingpoint tobiasvl correct21:04
strayPuppy joined21:04
tobiasvl you should see that in the log. if you don't, gitk might help21:04
tek81 joined21:04
Seveas pfloyd: depending on how many users you have, you could copy the wrapper a few times and identify them in the wrapper :)21:04
tobiasvl or play around with the options to git log so it's easier to visualize. man git log21:04
gitinfo the git-log manpage is available at http://jk.gs/git-log.html21:04
Seveas pfloyd: obviously that doesn't scale :)21:05
pfloyd Seveas: or just have it pass $USER as an arg to git-shell-wrapper!21:05
floatingpoint tobiasvl there's no merge message for SOME_OTHER_BRANCH21:05
medeirosthiiago joined21:05
diegoaguilar left21:05
freimatz left21:06
Seveas pfloyd: but they're all logging in as the same $USER you say21:06
diegoaguilar joined21:06
pfloyd Seveas: right but the authorization file is where I tie the user to ssh key to command, so I can just pass that as an arg21:06
Seveas or do you mean command="git-shell-wrapper user1"? Not sure if that works21:06
but try it :)21:06
pfloyd yes :)21:06
tobiasvl floatingpoint: maybe it was merged without a merge commit?21:07
floatingpoint tobiasvl looks like it21:07
:|21:07
tobiasvl you see it in the log for your branch so surely it has been merged into your branch, merge commit or not.21:07
floatingpoint is there an easy way to "unmerge" a branch?21:07
pfloyd Seveas: excellent, seems to work well. My concern was this single user would have access to N repositories, but I'd need to restrict on a per-user basis which they can see so this would work nicely. definitely a clunky setup, but then again gitolite isn't the most intuitive thing either21:07
nilsi left21:08
tobiasvl floatingpoint: revert the merge'21:08
floatingpoint: man git revert - look at -m21:08
gitinfo floatingpoint: the git-revert manpage is available at http://jk.gs/git-revert.html21:08
jflav joined21:08
tobiasvl floatingpoint: and !faulty while we're at it21:09
gitinfo floatingpoint: [!faulty_merge] If you have published a merge commit that turned out to be faulty and you'd like to get rid of it, you're probably not going to have a good time. Here's the full story: https://raw.github.com/git/git/master/Documentation/howto/revert-a-faulty-merge.txt21:09
rnsanchez left21:09
diogenese left21:09
HelloAtMega joined21:10
aclearman037 left21:11
JeroenT left21:12
JeroenT joined21:13
JeroenT left21:13
aswen joined21:13
elsevero joined21:13
UTAN_dev joined21:14
NeverDie joined21:14
otho left21:14
NeverDie left21:14
AaronMT left21:14
alanjf left21:15
ajf- left21:16
alanjf joined21:16
daito joined21:16
bket joined21:17
doppo left21:17
doppo joined21:18
chango joined21:19
rwb left21:20
toogley left21:20
Chinorro left21:20
manitu left21:20
bjoe2k4 left21:20
daito left21:21
bjoe2k4 joined21:21
Chinorro joined21:21
floatingpoint tobiasvl what is the "__history__" of the merge that linus talks about?21:21
tristanseifert joined21:22
tobiasvl floatingpoint: what do you mean?21:23
what paragraph are you talking about there21:23
manitu joined21:23
floatingpoint line 6521:23
tobiasvl the underscores are just emphasis21:24
commonly used to denote italics or underscores in ascii21:24
floatingpoint yes, but why does history matter in this case?21:24
chango left21:24
tobiasvl because the merge will still be in the history of the branch21:25
the commits introduced in the merge will still be among the branch's ancestors21:25
so they can't be reintroduced in a new merge21:25
did you read the entire thing?21:26
floatingpoint i'm asking questions as i go21:26
KennyRayFL left21:26
enter_ left21:26
tanimislam left21:26
haole joined21:27
floatingpoint generally speaking, i find it ineffective to continue reading something until you understand all referenced concepts21:27
enter_ joined21:27
woxidu left21:27
pfloyd left21:27
woxidu joined21:28
haole I'm trying to push to a remote git dir with ssh (no http server involved), but I'm getting this weird error: fatal: failed to read object c3e1b82a58a4ba0006774cf9f881bd4304302293: Protocol error21:28
KennyRayFL joined21:28
haole I can login to this server via ssh without issues and the permissions are fine... what could be happening here?21:28
zadock left21:28
dan2k3k4 joined21:29
floatingpoint long story short, I don't want any of the files and/or changes that were introduced by the merge n commits ago21:29
fstd left21:29
mezod left21:29
tobiasvl floatingpoint: but having the commits is fine?21:30
floatingpoint: if so, just revert.21:30
xbob left21:30
medeirosthiiago left21:30
enter__ joined21:30
douglasc_ joined21:31
enter_ left21:31
floatingpoint tobiasvl It sounds like it could be a problem. Lets say the current branch is A, the erroneously merged branch is B, and the mainline branch is C. Eventually A and B will be merged into C (seperately). Will a revert on A cause problems with the eventual merges to C?21:31
KennyRayFL left21:31
qballer joined21:33
qballer left21:33
douglascorrea left21:34
enter__ left21:34
LaptopBrain joined21:34
floatingpoint tobiasvl did your head explode? i hope not21:35
douglasc_douglascorrea21:35
enter_ joined21:36
fmcgeough left21:36
ToBeCloud joined21:36
flaguy48 left21:37
tobiasvl hmm let's see. you merged B to A by mistake, it should really be merged to C?21:37
floatingpoint I merged B to A by mistake. B should be merged to C (eventually)21:38
staticshock joined21:38
tobiasvl speaking of exploding heads, if reverting the merge causes any issues, you can revert the revert and merge that into C together with B. that should clear it up21:38
eletuchy joined21:39
ramsub07 left21:39
floatingpoint oh boy21:39
enter__ joined21:39
tobiasvl reverting a merge will just reverse the diff of the merge. so any lines of code the merge introduced, the revert will remove them again, in a new commit.21:39
so reverting the revert will add them again21:40
floatingpoint yeah21:40
that makes sense21:40
what isn't clear is if I merge B into A, will C think B is already merged when I try to merge it in the future?21:40
sorry. let me rewrite21:41
grawity yes, I think it will21:41
enter_ left21:41
grawity if you merge B into A, it's now part of A's history21:41
floatingpoint If I merge B into A, revert B, and then merge A into C, will C think B was merged in when i try to merge B into C21:41
grawity so if you then merge A into C, that will include everything A got from B21:42
WifiBrain joined21:42
floatingpoint yes, and I don't want that21:42
grawity at least, up to the A-B merge (though not what happens in B later)21:42
tobiasvl yes21:42
PryMar56 joined21:42
WifiBrain left21:42
johnmilton left21:42
grawity possible to hack around tbh, but it's an ugly situation21:43
staticshock left21:43
floatingpoint ok. perhaps I should do a git checkout C of each file introduced by B in A21:43
eletuchy left21:43
grawity e.g. if you rewrote (e.g. rebased or filtered) B, then the rewritten commits wouldn't be considered as "merged" anymore21:44
medeirosthiiago joined21:44
WifiBrain joined21:44
grawity well I'm guessing that would trick Git21:44
ywecur_ joined21:44
floatingpoint then the files will no longer exist in A, and I can merge into C. Then I can merge B into C and it should work, yes?21:44
mricon left21:44
LaptopBrain left21:45
tobiasvl that would be fine. essentially the same as reverting the revert.21:45
FunkyAss left21:45
tomog999 left21:45
staticshock joined21:46
tobiasvl if you manually reintroduce the changes that's obviously unproblematic for git and the branch's history, two commits can contain the same changes21:46
sssilver_ joined21:46
floatingpoint well, it's going to be annoying to have to do it manually, but i guess that's my only optino21:46
sssilver_ left21:47
tobiasvl will A be merged into C before B will?21:47
floatingpoint yes21:47
sssilver_ joined21:47
thiago left21:49
sbasso left21:49
sssilver left21:49
WifiBrain left21:50
durham left21:50
LaptopBrain joined21:51
tomog999 joined21:51
synthroid left21:53
mischat left21:53
enter__ left21:53
floatingpoint ok. new question. if i git rm some files, and the files still exist in my main branch, will the files be deleted if i try to merge my branch into the main branch?21:54
Drugo joined21:54
tek81 left21:55
diegoaguilar left21:55
StuartMI joined21:55
mischat_ joined21:56
sangy left21:56
kermit left21:56
ToxicFrog floatingpoint: yes. If they've also been modified in main since the branch diverged, you'll get an edit/delete conflict you need to resolve21:56
pantsman- left21:57
nikitasius left21:57
LaptopBrain left21:57
floatingpoint ok. how can i remove the files from my branch without having them affect what's in the main branch?21:57
ajm203 joined21:58
ywecur_ left21:58
shaggycat left21:58
skirk left21:58
milki what kind of effect are you worried about?21:58
nettoweb left21:59
floatingpoint you know what, this should work21:59
diego4diegoviola21:59
ash_workz left22:02
jonmorehouse left22:02
ToxicFrog floatingpoint: you can always remove them, and then when merging them back in use --no-commit and edit the merge result before committing22:02
canton7 left22:03
ywecur_ joined22:04
canton7 joined22:04
leksster left22:04
flaguy48 joined22:04
Darcidride left22:05
zumba_addict joined22:05
thetrav joined22:06
NOTevil left22:06
diegoaguilar joined22:06
mischat_ left22:07
emPi left22:07
MacWinner joined22:07
sangy joined22:08
emPi joined22:08
jwmann left22:08
leksster joined22:08
thetrav http://pastebin.com/9v5bQtWj <- neither git clone --recursive nor git submodule update --init get that submodule cloned... is there something wrong with that config?22:08
jwmann joined22:08
thetrav I don't get any error messages, the command completes successfully but with no file system changes22:09
tvw joined22:10
scsix joined22:10
David1977 left22:12
System42 left22:12
Dragooon left22:12
ErKa left22:14
sbasso joined22:14
codeman left22:15
citizen-stig left22:16
scsix left22:16
thetrav ahh, there was a file ansible/roles/jenkins that needed to be committed that I didn't22:16
weird that the metadata can be incorrect but no error generated22:17
fstd joined22:17
liamonade left22:18
thiago joined22:18
thiago left22:18
thiago joined22:18
emPi left22:19
jottr_ joined22:19
kpease left22:19
emPi joined22:19
Dragooon joined22:20
pandeiro left22:21
diego2 joined22:21
kpease joined22:22
mezod joined22:22
diegoviola left22:23
fees left22:24
xbob joined22:25
floatingpoint ok. semi-related question: how can I get the files from froma specific branch into another branch without merging branches?22:26
emPi left22:26
osse floatingpoint: git checkout branch -- file(s)22:26
ramsub07 joined22:26
emPi joined22:27
floatingpoint osse omg22:27
_xor left22:27
hahuang61 joined22:27
diego2 left22:27
diego2 joined22:27
diego2diegoviola22:27
osse floatingpoint lol22:28
kermit joined22:29
diogenese joined22:30
jberkus joined22:31
mmlb joined22:31
jberkus I accidentally based a feature branch off another feature branch instead of off of master22:31
bango2 left22:31
jberkus how do I fix that without losing my work? there's no merge conflicts with anything22:31
jmmy joined22:31
thetrav floatingpoint: is that cherry picking?22:31
endiruna joined22:32
thetrav oh, osse already answered22:32
and actually knew the answer :D22:32
hahuang61 left22:32
thetrav left22:32
medeirosthiiago left22:33
osse jberkus: git rebase --onto=master wrongbranch22:33
jberkus osse: ok, thanks for confirming22:33
trying ...22:33
gitinfo set mode: +v22:33
jmmy quick question here - I have a project and I want to re-organize the directory structure. Some of the directories that I am moving around contain files that are not tracked (.pyc for example). The issue I am having is that when I switch back to my master branch, I have some of the new folders with the ignored files present. Any way around this?22:33
leksster left22:34
osse jmmy: git clean can help22:34
but is it actually a problem ?22:34
jmmy osse: yeah basically I have all these "untracked" folders when I move back to master22:34
osse: and I have bower_components folder for example that is now in a different location22:35
jberkus osse: ok, this is either scary magic or I just hosed my local copy. we'll see ...22:35
osse jberkus: https://github.com/Osse/git-stuff/blob/master/rebase-onto.txt22:36
jmmy osse: I will look into git clean22:36
osse: basically, I want to track the location of the folder even though I don't want to track the contents (for example a bunch of npm installed packages)22:36
madewokherd left22:37
jason237 left22:37
osse jmmy: that's not gonna happen. git refuses to track empty dirs22:37
jberkus osse: so that now results in me picking up a bunch of commits which were already added to master and re-applying them as part of the rebase22:37
osse jberkus: then you did something wrong22:37
jberkus I did git rebase --onto master wrongbranch22:38
however, master was ahead of wrongbranch22:38
TomyLobo left22:38
osse aha22:38
jberkus osse: so, relevantly22:39
I want to take *one* commit from the newbranch22:39
so if there's an easier way to grab that ...22:39
josuebrunel left22:39
osse do you want to move newbranch over too?22:39
or leve it alone and create a newerbranch?22:39
jberkus osse: I want a branch on the remote with the one commit I care about, the last one in newbranch. creating a newerbranch is perfectly OK if I can create one22:40
which I can merge with master and have only the one commit22:40
strayPuppy left22:40
vishal left22:40
fishcooker joined22:40
osse git checkout -b newerbranch correctbase; git cherry-pick newbranch22:40
LucaTM left22:41
jberkus awesome22:42
jonmorehouse joined22:42
jberkus osse: thank you, that saved me a LOT of copying files22:42
bongjovi_ left22:42
causasui joined22:43
causasui left22:43
causasui joined22:43
ahr3n left22:45
tomog999_ joined22:45
vishal joined22:45
kballou left22:46
diogenese left22:47
tomog999 left22:47
tomog9991 joined22:47
liamonade joined22:48
liamonade left22:48
tomog999_ left22:49
diogenese joined22:50
jimi_ joined22:50
plonk joined22:51
durham joined22:51
t0by left22:51
ywecur_ left22:52
Dougie187 left22:53
dreiss left22:54
zumba_addict left22:54
gitinfo set mode: +v22:55
EvilPeng1 joined22:55
EvilPenguin left22:55
livingstn left22:55
joufflu joined22:56
sgambino left22:57
blackwind_123 left22:58
durham left22:58
invisbl_ left22:58
durham joined22:59
elastix left22:59
blackwind_123 joined23:00
invisbl_ joined23:00
madewokherd joined23:01
crayon left23:01
BSaboia joined23:02
durham left23:02
durham joined23:03
espindola left23:05
sbasso left23:06
AaronMT joined23:07
sbasso joined23:07
diegoviola left23:07
dodobrain joined23:08
dodobrain hi all23:08
fishcooker left23:09
cagedwisdom left23:10
intrigueD joined23:11
dodobrain how do i find out what tags i have and what type they are?23:11
ok `git tag`shows me the list23:11
how do i now see which ones are annotated and which ones are lightweight?23:12
mwhooker joined23:12
mwhooker left23:12
AaronMT left23:12
mwhooker joined23:13
ShapeShifter499 joined23:13
osse dodobrain: git for-each-ref refs/tags23:13
dodobrain: tag = annotated. commit = lightweight23:13
weox left23:13
dodobrain osse, thanks! that is super helpful23:14
mischat joined23:15
osse it's my best weapon in the fight against the bourgeouise23:15
dodobrain osse, ?23:15
whitby left23:15
osse dodobrain: for-each-ref also accepts a format string that can print info of varying interest23:16
rideh- left23:16
ahr3n joined23:16
rideh joined23:17
osse dodobrain: more compact output: git for-each-ref --format='%(objecttype) %(refname:short)' refs/tags23:19
as for the weapon comment, just a bad joke23:19
dodobrain well, i don;t know what `bourgeouise' is!23:20
EvilPeng1 left23:20
osse dodobrain: An affluent and often opulent stratum of the middle class (capitalist class) who stood opposite the proletariat class23:21
the_cybersphinx joined23:21
[gmi] joined23:21
staticshock left23:22
staticshock joined23:22
MadHatter42 left23:23
cagedwisdom joined23:25
dhollinger left23:25
mizu_no_oto left23:26
[gmi] left23:26
citizen-stig joined23:27
Hello71 left23:28
KtoTo joined23:29
liamonade joined23:30
citizen-stig left23:31
Hello71 joined23:31
dersand left23:32
terminal_echo left23:32
jfelchner joined23:33
mwhooker left23:34
johnmilton joined23:35
aswen left23:36
Gamecubic left23:37
crayon joined23:37
Gamecubic joined23:37
Rodya_ left23:37
r_rios left23:38
dsdeiz left23:38
xlegoman joined23:38
diegoaguilar left23:39
LaptopBrain joined23:40
eletuchy joined23:40
ramsub07 left23:40
BigWilli_ left23:40
jmckind joined23:41
boombatower left23:42
jmckind left23:42
rMdes_ joined23:42
haole left23:42
jmckind joined23:42
colept left23:44
eletuchy left23:44
mmlb left23:45
rMdes left23:45
nate_c joined23:45
n30 joined23:46
kpease left23:46
n30 left23:46
dodobrain osse, errr.. i've got a weird problem :( originally we had been using `git describe` to grab a version number. but then one of the devs made 0.4.0 a lightweight tag23:47
so i added --tags to the git describe command to get to the correct tag (in this case the light weight one). everything works fine locally. but on the server where there is a clone of the repo, git describe is matching an earlier 0.3.2 tag!23:48
raijin left23:49
raijin joined23:49
osse dodobrain: describe prefers annotated tags over lightweight ones23:50
not sure how to deal with this23:50
n30 joined23:50
dodobrain adding --tags grabs the lightweight ones as well23:50
but it doesn't seem to work on the server23:50
i guess it could be he git version there lol23:51
osse is the tag present on the server?23:51
diegoaguilar joined23:51
dodobrain actually, when i list the tags, i can see the dev has switched the lioghtweight tag to an annotated one23:51
so now its even more4 strange why git describe would show an earlier tag23:52
ramsub07 joined23:52
staticshock left23:52
joako left23:53
osse try to delete the tag and have him push it again23:54
paddyez left23:54
dodobrain err.. hes sleeping23:54
jmckindjmckind_23:54
osse where do you list the tags? in the exact same repo that prints 0.3.2 ?23:55
joako joined23:55
Kicer86 left23:55
n30 left23:55
editshare-ericf left23:55
n30 joined23:56
floatingpoint left23:56
osse brb sleep23:57
staticshock joined23:58
italoacasas left23:58
xbob left23:58
dodobrain osse, you still around?23:59

Logs Search ←Prev date Next date→ Channels Documentation