IRCloggy #git 2014-11-25

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.

2014-11-25

govg joined00:01
teamnoir left00:02
pmallya left00:02
phantombeta joined00:03
WaReZ left00:03
beneggett left00:04
phantombeta left00:05
phantombeta joined00:05
millr|wrk left00:06
shinnya joined00:07
kukks joined00:07
steele left00:08
fstd joined00:08
liamkeily joined00:10
akiva left00:11
richardlitt left00:12
thedudez0r how can one quickly get a list of all the files that are being tracked00:13
without showing any of the untracked files, like git status does00:13
I can do something like "git status|less", but I'm wondering if there is a more direct approach00:13
Gitzilla joined00:14
thedudez0r it's useful when the git is only keeping track of say 10 files in a folder made of 100's of files00:14
tranzfuse joined00:14
dzho thedudez0r: populate .gitignore?00:14
phantombeta left00:15
iamjarvo left00:15
harish left00:15
baweaver left00:16
phantombeta joined00:16
h4ml3t left00:16
RTG` left00:17
zhxt_work left00:17
thedudez0r I'd rather stick to "git status|less" then, the idea of populating a file with 100's of entries doesn't sound appealing to me atm00:18
chrisshattuck left00:18
thedudez0r no matter how cleverly I could do it00:18
tranzfuse left00:19
ojacobson 'git status' should be empty under normal operation anyways -- lots of other operations are saner that way00:19
hexagoxel_ joined00:19
ojacobson eg. properly-configured ignores will stop 'git add' from mistakenly tracking files you don't want tracked00:19
nettoweb joined00:19
EminenceHC joined00:19
hexagoxel_ left00:20
mvensky joined00:20
hexagoxel_ joined00:21
APerson_ joined00:21
dzho or perhaps rethinking the structure of your directory and its subdirectories00:21
hexagoxel left00:21
hexagoxel_ left00:21
hexagoxel joined00:21
thedudez0r dzho: it's a repo I have set on my $HOME directory, which is permanently a big mess of files and folders00:22
dzho ugh, yeah00:22
leeN left00:22
dzho thedudez0r: In that sort of situation, then, I ignore everything and then use !foo to unignore foo00:22
gitinfo thedudez0r: bar00:22
devoldmx left00:22
dzho d'oh00:22
thedudez0r ojacobson: yeh I just realised taht git status isn't even useful for what I'm looking for since the only tracked files that it displays are the ones that have been modified, or newly added00:23
dzho: that's more like it00:23
so what, you create a .gitignore file with something like "./*" in it?00:24
dzho just a big old * at the top00:24
EminenceHC left00:24
Etheco left00:24
dzho and then subsequent lines that each begin with a bang and perhaps have some patterns in them00:24
RTG joined00:25
n-st left00:25
dzho I don't know this is the best approach, just that it makes it tractable for me to start sorting out some directories I have that are huge messes.00:25
RTGGuest7454600:25
kadoban dzho: I suspect that that actually won't work well. Remember that inverse patterns don't work if the directory that contains the file you're trying to bring back in is itself ignored.00:25
Consuela left00:26
dzho kadoban: I have run into that, yes.00:26
kadoban dzho: If it's really only a few files though, you can just --force add them and it won't matter that they're ignored maybe.00:26
Spacew00t left00:26
devoldmx joined00:27
ropav joined00:27
Sadi left00:28
s8321414 left00:28
a_le left00:28
KONIG left00:28
a_le joined00:29
cagedwisdom joined00:29
ManikM left00:29
ManikM joined00:29
zhxt joined00:30
baweaver joined00:30
netj left00:33
a_le left00:33
netj joined00:33
a_le joined00:33
spyroboy joined00:34
tyreld left00:35
fstd left00:35
nettoweb left00:36
Pyrogerg left00:36
in_deep_thought joined00:36
nfk left00:36
Bryzzle left00:36
thiago left00:38
hexagoxel left00:38
thiago joined00:40
ra0 joined00:43
kurstin joined00:43
tmz left00:43
madewokherd joined00:44
LifeBlood joined00:44
Takle left00:45
awkwardusername joined00:47
checkItOut joined00:47
osfe left00:48
occupant left00:48
jonatasnona joined00:49
liamkeily left00:49
Lyqyd joined00:49
checkItOut left00:50
checkItOut joined00:51
cannonball left00:51
dregad left00:52
meltdown left00:52
checkItOut left00:52
t0th_-___ left00:53
Lyqyd_ joined00:55
bhws joined00:56
Pyrogerg joined00:57
Lyqyd left00:57
AndroUser2 joined00:58
reaverb joined00:59
JosephFerano left00:59
Noldorin left01:00
hahuang61 left01:00
nettoweb joined01:01
crystal77 left01:03
sgen joined01:03
baweaver left01:04
dreiss left01:05
moritzschaefer left01:05
crystal77 joined01:06
ropav left01:07
yazdmich left01:07
yazdmich joined01:08
checkit left01:08
teran left01:09
weiyang joined01:09
Neozonz left01:10
ra0 left01:12
Consuela joined01:13
nettoweb left01:13
iamjarvo joined01:14
iamjarvo left01:14
Bryzzle joined01:14
iamjarvo joined01:14
a_le left01:17
baweaver joined01:17
iamjarvo left01:17
Streward left01:17
dreiss joined01:17
jonatasnona left01:19
bhws left01:19
smccarthy joined01:20
msmith joined01:21
robustus left01:21
ajustrun left01:21
LucasTT_ left01:21
ajustrun joined01:22
oojacoboo how can I git reset --hard to a previous commit without there being issues with the head?01:22
robustus joined01:23
oojacoboo it seems when I go to push these changes, it's telling me that local head isn't at the tip with remote01:23
otter768 joined01:23
zapb_ left01:23
msmith left01:23
iamjarvo joined01:23
EminenceHC joined01:23
iamjarvo left01:23
oojacoboo do I want to do a rebase? I'm not quite sure what's the best approach to handle the situation01:24
iamjarvo joined01:24
iamjarvo left01:24
listochkin left01:25
iamjarvo joined01:25
oojacoboo kurstin please do not PM me your spam01:25
rchavik joined01:26
ra0 joined01:26
aynik joined01:26
otter768 left01:28
EminenceHC left01:28
hgl joined01:28
zapb_ joined01:28
AndroUser2 left01:30
ascarter joined01:30
AndroUser2 joined01:30
shinnya left01:30
madewokherd left01:30
acharlieh left01:31
ascarter left01:32
jonatasnona joined01:32
dreiss left01:34
iamjarvo left01:35
AndroUser2 left01:36
danemacmillan left01:36
Guest74546 left01:37
danemacmillan joined01:37
a_le joined01:37
in_deep_thought left01:38
metateck joined01:38
jason237 joined01:38
Zupoman left01:39
devoldmx33 left01:39
jb55_ joined01:40
Pyrogerg left01:41
MattMaker left01:43
jb55 left01:43
MattMaker joined01:43
jb55_ left01:44
john_doe_jr1 joined01:45
Takle joined01:46
bhws joined01:47
danemacmillan left01:48
devoldmx33 joined01:49
john_doe_jr1 left01:50
Takle left01:50
Sasazuka left01:51
booboy left01:52
Rastus_Vernon joined01:54
msmith joined01:55
wabash joined01:55
tmcmahon joined01:56
Lyqyd joined01:56
Noldorin joined01:57
Motoko joined01:57
wjiang joined01:57
Lyqyd_ left01:58
chrisgeo left01:59
arnaud___ left02:00
MadLamb left02:00
daito joined02:01
weiyang left02:02
tranzfuse joined02:03
bob14 joined02:04
pekster left02:05
bq joined02:05
tmcmahon left02:06
bq anyone help this issue? http://paste.ubuntu.com/9224327/02:07
Noldorin left02:07
skorgon joined02:07
skorgon left02:07
skorgon joined02:07
fstd joined02:07
Motoko Looks like there's a directory with a : in the name.02:08
tranzfuse left02:08
AaronMT left02:08
wabash left02:08
Motoko Not sure of a good way to solve that.02:08
msmith left02:08
knownasilya left02:09
bob14joey7702:09
kballou left02:09
teran joined02:09
bq hm really? why the hell put a : in the path?02:10
zumba_addict left02:11
Motoko No idea, and I could be reading that wrong.02:11
zumba_addict joined02:11
bq any workaround?02:11
s00pcan left02:12
dreiss joined02:12
Motoko I'm not aware of any, but one of the more experienced people may know when they see this.02:12
danemacmillan joined02:13
bq there is indeed a : in the path from the github source02:13
mvensky left02:14
kpreid left02:14
joey77 Can someone help me out? I want to fix a bug in a project on Github. I forked the project a few months ago and made a bunch of changes that the project owner didn't want so they weren't merged into the original repo. Now I want to fix a bug in that project I originally forked from, how can I do this? I don't think I can fork the repo because my project is already forked form there. Do I need to create a new repo and then move my fork to the02:15
repo, and then fork the original again so I can fix the bug and then do a pull request?02:15
teran left02:15
Vampire0 joined02:15
whomp left02:16
zumba_addict left02:16
atran joined02:16
Noldorin joined02:16
Motoko You'll probably need to reset HEAD to the status of the upstream, then make your changes on a new branch cut from that point.02:16
zumba_addict joined02:16
Motoko If you're planning to use pull requests, make all changes in a branch you can submit as a PR.02:16
CheckDavid left02:17
pheaver left02:17
joey77 Motoko: Ok, will that mess up the fork I have now? I need to keep my fork in tact02:17
Motoko Make a new branch from your head.02:18
Switch to that and delete the old branch name.02:18
dreiss left02:18
Motoko Checkout the last clean rev from your fork.02:18
It'll complain about detached head.02:18
roo (testing)02:18
Motoko Make a new branch from that checkout with the same name you deleted.02:18
Vampire0_ left02:18
Motoko That'll fix the structure.02:19
You'll need to force-push to put up your changes.02:19
Also, do this on a copy of the clone.02:19
Don't want to break things.02:19
kurstin left02:20
joey77 Motoko: ok im going to type up the steps and verify them with u before I do it lol02:20
Motoko Sure.02:21
jb55 joined02:21
Motoko But do make sure to do the work on a copy. You're manipulating history, and it's messy and risky.02:21
zumba_addict left02:22
St_Marx left02:22
zumba_addict joined02:22
msmith joined02:23
jonatasnona left02:26
EminenceHC joined02:27
zumba_addict left02:27
whomp joined02:27
zumba_addict joined02:28
ManikM left02:29
ManikM joined02:29
joey77 motoko: Can you check out the steps here? I dont think I have it right… https://gist.github.com/theDazzler/f0b0da3b2b72bf1a3efb02:29
EminenceHC left02:31
Motoko One second02:32
APerson_ left02:33
Motoko Not quite.02:33
Find the hash for the last change before you started your work.02:33
baweaver left02:34
joey77 I havent started to fix the bug yet in the original repo02:34
unless you mean from 3 motnsh ago02:34
months*02:34
aynik left02:35
Motoko Yes, that.02:35
Stevie-OGuest5659802:35
joey77 a good analogy might be this: I forked linux 3 months ago, created knoppix with my fork, linux rejected my pull request, now i want to make a bug fix in linux repo, but i still have knoppix fork02:35
bq Motoko: how to i revert that checkout?02:36
JosephFerano joined02:36
baweaver joined02:37
Motoko http://paste.animeneko.net/view/f5aa2f9002:37
That should be it.02:37
Goplat joined02:37
Motoko You do a "git checkout HASH"02:37
The output will complain about "detached head". That's fine.02:37
LifeBlood left02:37
joey77 Motoko: ok taht makes sense, ill try it02:37
thanks02:38
Motoko From memory, but I have done that before.02:38
zumba_addict left02:38
Motoko Once you're back to that, you can pull the upstream back into your copy and then branch off and make your bugfix on that branch.02:38
joey77 ok02:39
zumba_addict joined02:39
Motoko See https://help.github.com/articles/fork-a-repo/#keep-your-fork-synced02:39
APerson_ joined02:39
St_Marx joined02:40
devoldmx left02:41
d10n-work left02:41
bq how do i delete a directory on remote master?02:42
bhws left02:42
eric___ left02:43
ajustrun left02:44
crystal77 left02:44
bb010g joined02:45
pekster joined02:47
LifeBlood joined02:48
whomp left02:49
daito left02:49
ome joined02:51
adamben left02:52
a_le left02:54
webguy left02:54
bhws joined02:55
tchan joined02:56
kukks left02:56
kerrick joined02:56
hypera1r left02:57
blip joined02:58
blipGuest5118202:58
hyperair joined02:59
Guest51182 left03:00
Bryzzle left03:00
baweaver left03:00
reaverb left03:02
Guest68364 joined03:02
tranzfuse joined03:04
darkbasic left03:04
lewellynihateyou03:04
ihateyoulewellyn03:05
Patch joined03:05
darkbasic joined03:05
Guest68364 left03:07
weiyang joined03:07
tranzfuse left03:09
Droolio joined03:09
echo-area joined03:10
watabou joined03:11
tranzfuse joined03:11
NoNMaDDeN left03:11
pullphinger joined03:12
sgen left03:14
zumba_addict left03:14
zumba_addict joined03:15
dreiss joined03:16
Takle joined03:17
daito joined03:17
ra0 left03:20
joey77 left03:20
wjiang left03:20
wjiang joined03:20
andrew__ joined03:20
Literphor joined03:21
snuffeluffegus joined03:21
Takle left03:21
dsantiago left03:22
jb55 left03:24
Life-Blood joined03:24
otter768 joined03:24
LifeBlood left03:24
jb55 joined03:24
dsantiago joined03:25
paulweb5151 left03:26
tristanp joined03:27
awkwardusername left03:27
dtrott joined03:29
otter768 left03:29
ropav joined03:30
EminenceHC joined03:31
Mitchbones left03:32
diegoviola left03:32
diegoviola joined03:33
danemacmillan left03:35
JosephFerano left03:35
EminenceHC left03:36
arnaud___ joined03:38
iamjarvo joined03:39
iamjarvo left03:39
iamjarvo joined03:39
iamjarvo left03:40
iamjarvo joined03:40
teran joined03:41
devoldmx joined03:41
crystal77 joined03:43
iamjarvo left03:45
whomp joined03:45
teran left03:45
sgen_ joined03:46
eternnoir left03:46
Patch left03:46
zapb_ left03:48
enitiz joined03:48
zapb_ joined03:48
ianbrandt joined03:52
whomp left03:52
devoldmx33 left03:53
awkwardusername joined03:53
iamjarvo joined03:53
weiyang left03:53
DolpheenDream joined03:54
Milkweed left03:55
felipedvorak joined03:55
Pyrogerg joined03:56
enitiz left03:57
kcj joined03:57
ajustrun joined03:58
johnny2600 joined03:59
thiago left04:01
devoldmx left04:02
johnny2600 left04:03
sgen_ left04:03
msmith left04:04
dreiss left04:05
tranzfuse left04:06
eternnoir joined04:06
weiyang joined04:07
maestrojed left04:07
metateck left04:07
SumDude left04:09
dsantiago left04:09
zumba_addict This is the correct process right? I want to update my two-calendar-fix branch with the changes that develop received. so 1) git checkout two-calendar-fix 2) git fetch 3) git merge origin/develop04:09
weiyang left04:12
dsantiago joined04:13
awkwardusername left04:13
tekkbuzz joined04:14
jgardella joined04:14
ajustrun left04:15
knobo joined04:15
zumba_addict left04:17
zumba_addict joined04:18
sgen_ joined04:18
Bryzzle joined04:19
jb55 left04:19
davis left04:20
jb55 joined04:20
daito left04:22
sinequanon joined04:22
EminenceHC joined04:22
smccarthy left04:23
dreiss joined04:24
jb55 left04:24
zumba_addict left04:26
zumba_addict joined04:26
sinequanon left04:27
EminenceHC left04:27
davis joined04:28
Literphor left04:28
davisGuest6624804:29
NoNMaDDeN joined04:29
zanchoPansa joined04:29
ManikM left04:29
ManikM joined04:29
subhojit777 joined04:29
sinkensabe joined04:30
zanchoPa1sa left04:30
jacksparrow007 joined04:30
andrew__ left04:31
kyb3r_ joined04:31
andrew__ joined04:31
bhuvanaurora joined04:31
APerson_ left04:32
m0viefreak left04:33
EminenceHC joined04:33
APerson_ joined04:34
sinkensabe left04:34
Mitchbones joined04:35
JohnBat26 joined04:35
JohnBat26 left04:35
JohnBat26 joined04:36
bhuvanaurora left04:36
EminenceHC left04:38
Literphor joined04:38
Consuela left04:42
thiago joined04:43
PerlJam joined04:43
harish_ joined04:43
harish_ left04:44
ianbrandt left04:45
bhws left04:45
whomp joined04:49
Kulrak joined04:49
Kulrak left04:49
Kulrak joined04:49
sohail left04:49
dtrott left04:50
Bryzzle left04:51
thedudez0r what happens if you're keeping track of a file in some subdirectory, and then you move that file, either upwards or downwards the directory tree04:51
tristanp left04:51
thedudez0r does git keep track of the changed location? or do I need to re-add it once it's in the new location?04:51
sgen_ left04:52
ajustrun joined04:52
tristanp joined04:52
thedudez0r I'm guessing the latter04:52
jacksparrow007 left04:53
whomp left04:54
offby1 thedudez0r: it tracks the whole rename thing04:54
sgen_ joined04:55
offby1 duderino: you do have to re-add it04:55
oh, sorry, misspelled your nick04:55
Noldorin left04:55
tristanp left04:56
ajustrun left04:57
dtrott joined04:58
pekster left04:58
AmR|EiSa_ joined04:58
AmR|EiSa_ How I can edit Qt src with git patch file ?04:59
maestrojed joined04:59
Seveas thedudez0r: if you 'git mv', git will keep tracking it. If you move manually, you'll need to git rm / git add afterward.04:59
AmR|EiSa_: git apply your_patch_file.patch04:59
Pyrogerg left05:00
AmR|EiSa_ Seveas: It will look at the path atuo ?05:00
Seveas atuo?05:01
AmR|EiSa_ Seveas: automatic*05:02
z8z joined05:02
DeathIncarnate joined05:02
AmR|EiSa_AmR|EiSa05:03
z8z left05:03
Seveas well, that still doesn't make sense :) What do you mean?05:03
z8z joined05:03
AmR|EiSa the patch file for /src/c.txt it will look at src/ and find c.txt ?05:05
bhuvanaurora joined05:05
daito joined05:06
z8z left05:06
chrisshattuck joined05:06
z8z joined05:07
Seveas if it's an actual git-generated patch, the path will be for a/src/c.txt and b/src/c.txt and git will pretend that you said -p1 when applying05:07
jaeckel left05:07
Seveas if it's not a git-generated patch, you may need to specify another value for -p05:07
AmR|EiSa lol git is very cool05:08
Seveas: Thanks :)05:08
sinequanon joined05:08
ianbrandt joined05:08
pekster joined05:08
AmR|EiSa Last 2 Q.05:09
thedudez0r left05:09
z8z left05:09
AmR|EiSa I convert my project to git, By git svn clone05:09
I want not full master to git without svn.05:10
or this bad ?05:10
wrouesnel3 joined05:10
King_Hual joined05:10
Dewi left05:11
kermit left05:11
kadoban AmR|EiSa: I don't understand what you mean, sorry.05:11
AmR|EiSa: Can you reword it?05:11
kermit joined05:11
Life-Blood left05:11
teran joined05:11
Dewi joined05:12
King_Hual` joined05:12
richardlitt joined05:12
AmR|EiSa I work before with svn and git easy way to make it work with git by clone it from svn. So I want full convert it now to git.05:12
That what I want to do.05:12
msmith joined05:15
King_Hual left05:15
pdxrmjack joined05:16
chrissha_ joined05:16
teran left05:16
jrdavid_ left05:17
devoldmx joined05:17
chrisshattuck left05:17
jaeckel joined05:17
andrew__ left05:18
darnir joined05:18
King_Hual` left05:19
msmith left05:19
royho joined05:19
royho left05:20
kopparam joined05:22
tmz joined05:24
z8z joined05:24
devoldmx left05:24
mennea joined05:24
otter768 joined05:25
listochkin joined05:25
Niharika joined05:27
snuffeluffegus left05:27
Niharika left05:29
pheaver joined05:29
otter768 left05:30
gH05t joined05:30
listochkin left05:30
gH05t is there a way to send all branches to remote with one command.05:30
sinkensabe joined05:31
BlaXpirit joined05:32
thiago gH05t: in one push, but two commands05:32
gH05t: wait, no, you can do it one one command05:32
wrouesnel3 left05:32
thiago gH05t: git push remote refs/heads/*:refs/heads/*05:32
AmR|EiSa thiago: lol05:33
gH05t thiago: let me try that.05:33
thiago note that this pushes to all like-named branches. It doesn't push to the tracking upstream branch05:33
weiyang joined05:34
pheaver left05:34
jgardella left05:35
gH05t thiago: it works. thanks.05:35
sinkensabe left05:35
LifeBlood joined05:36
gH05t also, can we make a branch from a previous commit using "git branch <name> <sha1>"05:36
xcesariox joined05:37
jeffmjack joined05:37
beautifulmind joined05:37
EminenceHC joined05:37
beautifulmind left05:38
thiago gH05t: was that a question?05:38
Consuela joined05:39
gH05t thiago: yes, will this work.05:39
lindenle left05:39
thiago gH05t: !tias05:39
gitinfo gH05t: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.05:39
Literphor left05:40
richardlitt left05:40
mennea_ joined05:41
pdxrmjack left05:41
gH05t thiago: will this make any issues when merging with original branch.05:42
mennea left05:42
EminenceHC left05:42
beautifulmind joined05:42
Literphor joined05:43
richardlitt joined05:43
thiago gH05t: no05:43
gH05t thiago: so, what kind of merge will that be? can it be fast-forward.05:44
beautifulmind left05:45
ianbrandt left05:45
neunon left05:46
Guest66248 left05:46
davis joined05:46
ianbrandt joined05:46
upene joined05:46
davisGuest1237105:46
NoNMaDDeN left05:47
jceb joined05:47
bq how do i checkout a repo all but a specific directory?05:48
kopparam left05:48
kopparam joined05:48
msankhala joined05:48
dreiss left05:48
jb55 joined05:48
St1gma joined05:49
mattcen bq: you don't. You get the whole repo05:49
beautifulmind joined05:49
mattcen Why do you want to do that?05:49
upene left05:51
bq mattcen: there is a ":" in one path name that cannot be checkouted05:51
mattcen How are you trying to check it out?05:52
What command are you running05:52
bq mattcen: the clone part is done, but the checkout is half done with the error.05:52
git clone <repo>05:52
mattcen what happens if you 'cd' into the repo dir and do 'git checkout .'05:53
Takle_ joined05:53
neunon joined05:53
zumba_addict left05:53
gH05t can we have different copies of same file in local and remote.05:53
zumba_addict joined05:54
ropav left05:54
kcj left05:54
bq mattcen: error: pathspec '.' did not match any file(s) known to git.05:54
upene joined05:54
ropav joined05:54
mattcen bq: I just created a repo with a dir containing a colon, and it works fine for me.05:55
DeathIncarnate left05:55
mattcen bq: I don't know what's going on with your system, but it's not normal, and without seeing pastebins of the output of your terminal session or replicating the issue myself, I can't help you05:55
oldtopman left05:56
bq mattcen: http://paste.ubuntu.com/9224327/05:56
tranzfuse joined05:56
kirin` left05:56
mattcen bq: is that the same error you see when you do the 'clone'?05:57
bq mattcen: yes exactly05:57
kirin` joined05:57
mattcen What sort of system are you on? Linux?05:57
bq win705:58
RustyShackleford left05:58
mattcen bq: There you go. Windows doesn't support colons in its filenames.05:58
I don't know if you can make this work.05:58
punchagan joined05:58
bq maybe i need to switch to linux05:58
mattcen "Most problems can be solved by installing Debian"05:58
iamjarvo left05:58
upene left05:59
bq let me try05:59
AmR|EiSa Is bettercodes.org good ?06:00
ropav_ joined06:00
mattcen shrugs06:00
tranzfuse left06:01
lindenle joined06:01
The_Phoenix joined06:01
gH05t left06:01
The_Phoenix left06:02
gH05t joined06:03
gH05t !tias06:03
gitinfo Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.06:03
richardlitt left06:03
gH05t !backup06:03
gitinfo Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups06:03
The_Phoenix joined06:04
UmbraMalison left06:04
ropav left06:04
gH05t left06:04
Tuna-Fish left06:05
UmbraMalison joined06:05
jrdavid joined06:05
APerson_ left06:06
ropav_ left06:07
ropav joined06:08
NoNMaDDeN joined06:08
diegoaguilar joined06:08
Takle joined06:09
kyb3r_ left06:09
Takle_ left06:10
mennea_ left06:10
Life-Blood joined06:11
LifeBlood left06:11
mennea joined06:11
mihaicris joined06:11
dsdeiz_ joined06:11
kriks joined06:11
bhuvanaurora left06:12
gH05t joined06:12
dreiss joined06:13
dsdeiz left06:13
mihaicris left06:13
arup_r joined06:14
AmR|EiSa_ joined06:14
bhuvanaurora joined06:15
AmR|EiSa left06:17
twb joined06:20
twb If I have two "git stash" and I want to apply the second one,- never mind, I guess it's "git stash apply 1" or so06:20
Since it's a stack, I was looking for "git stash rotate"06:21
gH05t left06:21
desposo left06:21
twb "git stash apply stash@{1}" works06:21
ome left06:21
jiangenj joined06:21
jiangenj hi06:21
gitinfo set mode: +v06:22
jiangenj hi06:22
Question: if i want to only clone a project without tree and blob objects (means I only need tags/commit object), what should i do?06:22
crystal77 left06:23
joo-_ joined06:23
darnir jiangenj: You mean a bare repository?06:23
KONIG joined06:23
lindenle left06:23
phy1729 bare just means no working copy06:23
jiangenj: that seems like an xy question; what are you trying to do?06:24
gH05t joined06:25
jiangenj A bare project also clones blob and tree06:25
gH05t left06:25
jiangenj For most of projects, I only concern about the commit relationship and commit message06:26
gH05t joined06:26
jiangenj so if we can clone a project fast with these two objects, that's awesome06:26
gH05t left06:26
kadoban jiangenj: What you want isn't possible...and I doubt it'd actually be useful06:26
jiangenj Its pretty useful for us, as we need to get commits between two tags very frequently06:27
Or do you know gitweb has similar function?06:27
you can also see that in a git project, verify-pack *.idx gives commit/tree/blob objects info; so I think technically it's possible06:28
watabou left06:28
AmR|EiSa_AmR|EiSa06:29
ManikM left06:29
kadoban jiangenj: Even if git could be tricked into that, all you'd have would be the sha-ids and the commit messages. How would that help you?06:29
ManikM joined06:29
nnyk_ joined06:29
nnyk_ left06:29
nnyk_ joined06:29
Dougie187 left06:30
jiangenj I don't care about the file content in most of the time; but if we clone hundreds projects it takes too much time even delta fetch06:31
kopparam left06:31
tpollard left06:31
kopparam joined06:32
Motoko You'll need the content to see the changes.06:32
MattMaker left06:33
DeathIncarnate joined06:33
NoNMaDDeN left06:34
Kulrak left06:34
jiangenj I don't:)06:34
we just want a dashboard06:35
Sonderblade joined06:35
phy1729 you can do a shallow clone iirc06:35
pantsman- joined06:35
diegoviola left06:36
joo-_ left06:37
whomp joined06:38
Literphor left06:38
bhuvanaurora left06:39
sinequanon left06:39
bhuvanaurora joined06:39
devoldmx joined06:39
bhuvanaurora left06:39
mennea left06:40
bq mattcen: the same error goes on linux06:41
mennea joined06:41
hahuang61 joined06:41
samsquanch left06:41
EminenceHC joined06:41
MattMaker joined06:42
aswen joined06:42
DeathIncarnate left06:42
whomp left06:42
HACKING-FACEBOOK joined06:43
alexwhitman joined06:43
mikecmpbll left06:44
KONIG left06:45
EminenceHC left06:46
ehmatthes joined06:47
Myk267 joined06:47
Silmarilion joined06:47
eletuchy left06:47
sinequanon joined06:47
sinequanon left06:48
Kulrak joined06:48
Kulrak left06:48
Kulrak joined06:48
sinequanon joined06:48
Kulrak left06:49
Kulrak joined06:49
ropav left06:49
Lyqyd left06:49
Kulrak left06:49
Kulrak joined06:49
sinequan_ joined06:50
ropav joined06:50
Nechradile joined06:50
b4rbzDopagod06:51
akiva joined06:51
sinequan_ left06:51
sinkensabe joined06:51
a_le joined06:52
Dopagod left06:52
Gamecubic left06:53
sinequanon left06:53
HACKING-FACEBOOK left06:53
HACKING-FACEBOOK joined06:53
HACKING-FACEBOOK left06:53
ianbrandt left06:53
HACKING-FACEBOOK joined06:54
HACKING-FACEBOOK left06:54
HACKING-FACEBOOK joined06:54
HACKING-FACEBOOK left06:54
sinequanon joined06:54
HACKING-FACEBOOK joined06:54
HACKING-FACEBOOK left06:54
Dopagod joined06:55
HACKING-FACEBOOK joined06:55
HACKING-FACEBOOK left06:55
pantsman- left06:55
HACKING-FACEBOOK joined06:55
HACKING-FACEBOOK left06:55
strictlyb left06:55
ropav_ joined06:55
HACKING-FACEBOOK joined06:56
HACKING-FACEBOOK left06:56
k_sze[work] joined06:56
HACKING-FACEBOOK joined06:57
HACKING-FACEBOOK left06:57
EminenceHC joined06:57
HACKING-FACEBOOK joined06:57
HACKING-FACEBOOK left06:57
HACKING-FACEBOOK joined06:58
HACKING-FACEBOOK left06:58
Samual_ left06:58
HACKING-FACEBOOK joined06:58
HACKING-FACEBOOK left06:58
HACKING-FACEBOOK joined06:58
HACKING-FACEBOOK left06:58
HACKING-FACEBOOK joined06:59
HACKING-FACEBOOK left06:59
ropav left06:59
aswen left06:59
HACKING-FACEBOOK joined06:59
HACKING-FACEBOOK left06:59
HACKING-FACEBOOK joined06:59
HACKING-FACEBOOK left06:59
ojacobson So, that's gonna be interesting.06:59
jceb left07:00
HACKING-FACEBOOK joined07:00
HACKING-FACEBOOK left07:00
strictlyb joined07:00
SumDude joined07:00
HACKING-FACEBOOK joined07:00
HACKING-FACEBOOK left07:00
teran joined07:00
HACKING-FACEBOOK joined07:01
HACKING-FACEBOOK left07:01
ropav joined07:01
HACKING-FACEBOOK joined07:01
HACKING-FACEBOOK left07:01
Tuna-Fish joined07:01
kopparam_ joined07:01
HACKING-FACEBOOK joined07:01
EminenceHC left07:01
Guest12371 left07:02
lidaaa left07:03
devoldmx left07:03
Nechradile left07:03
kopparam left07:03
ropav_ left07:04
berise joined07:04
willvarfar joined07:04
faylite joined07:05
ropav_ joined07:05
kopparam_ left07:06
teran left07:06
kopparam joined07:06
ropav left07:06
Goplat left07:06
willvarfar I use git but I'm no power user and never got along with submodule. Anyway, I've started on an old codebase that is curiously structured: it uses cvs and is organised so each folder at the top level is its own concept of 'module'. You do not usually install all modules. There is a special python script for downloading these modules, updating them, creating dependencies and managing compile order, and actually kicking off its speci07:08
arup_r_ joined07:08
willvarfar so my question is: how to best migrate this to git? How do you have a system for versioning where the top-level is made from selectable modules and two users may have different modules?07:08
mennea left07:08
saurabh joined07:09
saurabhGuest6388207:09
strictlyb left07:09
Seveas willvarfar: I would get rid of the top level project and just have the separate modules. The special script can then be its own module too, and it could clone repos as and when needed, even without using submodules07:10
Kulrak left07:10
TomyLobo joined07:10
devoldmx joined07:11
Samual joined07:11
arup_r left07:11
ropav_ left07:12
Orbitrix left07:12
knobo left07:12
ropav joined07:12
Orbitrix joined07:12
MLM left07:13
chrissha_ left07:13
at0mat joined07:13
willvarfar Seveas: thx yes I can't think of another way07:14
Kicer86 joined07:14
marthinal joined07:15
devoldmx left07:15
davis joined07:15
davisGuest8668007:16
nnyk_ left07:16
clauswitt joined07:16
msankhala left07:17
alanwill left07:17
ropav_ joined07:17
Errorical joined07:19
ropav_ left07:20
shpoont joined07:20
roelmonnens joined07:20
HACKING-FACEBOOK left07:20
ropav_ joined07:20
ropav left07:21
ehmatthes left07:21
dreiss left07:21
ianbrandt joined07:22
CEnnis91 left07:22
cbreak this winter will probably suck again... way too warm :( I hope it'll snow at least once07:22
angelsl joined07:23
Kulrak joined07:24
Kulrak left07:24
Kulrak joined07:24
Seveas cbreak: git snow --fluffy07:24
freimatz joined07:24
kerrick left07:24
wookienz left07:25
willvarfar left07:25
otter768 joined07:26
ruukasu left07:26
HACKING-FACEBOOK joined07:27
HACKING-FACEBOOK left07:27
Gizburdt joined07:27
HACKING-FACEBOOK joined07:27
HACKING-FACEBOOK left07:27
HACKING-FACEBOOK joined07:27
HACKING-FACEBOOK left07:27
HACKING-FACEBOOK joined07:28
HACKING-FACEBOOK left07:28
acolson joined07:28
HACKING-FACEBOOK joined07:28
HACKING-FACEBOOK left07:28
HACKING-FACEBOOK joined07:28
HACKING-FACEBOOK left07:28
HACKING-FACEBOOK joined07:29
HACKING-FACEBOOK left07:29
ojacobson left07:29
HACKING-FACEBOOK joined07:29
HACKING-FACEBOOK left07:29
HACKING-FACEBOOK joined07:29
HACKING-FACEBOOK left07:29
ropav joined07:30
HACKING-FACEBOOK joined07:30
HACKING-FACEBOOK left07:30
HACKING-FACEBOOK joined07:30
HACKING-FACEBOOK left07:30
Guest86680 left07:30
HACKING-FACEBOOK joined07:30
HACKING-FACEBOOK left07:30
Seveas cbreak: also https://www.youtube.com/watch?v=mIQr_TrFTUk#t=23207:30
otter768 left07:30
ruukasu joined07:30
HACKING-FACEBOOK joined07:31
HACKING-FACEBOOK left07:31
HACKING-FACEBOOK joined07:31
HACKING-FACEBOOK left07:31
HACKING-FACEBOOK joined07:31
HACKING-FACEBOOK left07:31
jagob joined07:31
cbreak I am not in that part of disney...07:32
HACKING-FACEBOOK joined07:32
HACKING-FACEBOOK left07:32
davis_ joined07:32
vurma joined07:32
HACKING-FACEBOOK joined07:32
HACKING-FACEBOOK left07:32
HACKING-FACEBOOK joined07:32
HACKING-FACEBOOK left07:32
HACKING-FACEBOOK joined07:33
HACKING-FACEBOOK left07:33
bhuvanaurora joined07:33
HACKING-FACEBOOK joined07:33
HACKING-FACEBOOK left07:33
ropav_ left07:33
HACKING-FACEBOOK joined07:33
HACKING-FACEBOOK left07:33
HACKING-FACEBOOK joined07:34
HACKING-FACEBOOK left07:34
HACKING-FACEBOOK joined07:34
Raging_Hog joined07:36
St_Marx left07:36
St_Marx_ joined07:36
eletuchy joined07:36
jceb joined07:37
TomyLobo left07:37
teran joined07:37
ianbrandt left07:38
pikaren left07:38
pikaren joined07:38
sinequanon left07:38
darnir_ joined07:39
pikaren left07:40
Macaveli joined07:40
Motoko left07:40
WormDr1nk joined07:40
delight joined07:40
Motoko joined07:40
pikaren joined07:40
darkbasic left07:40
darkbasic_ joined07:40
darnir left07:42
Dopagod left07:42
Dopagod joined07:43
kadoban left07:43
CustosL1men left07:43
Motoko left07:44
tranzfuse joined07:45
awkwardusername joined07:45
beautifulmind left07:46
EminenceHC joined07:47
jargon joined07:47
jargon left07:48
joo-_ joined07:49
AmR|EiSa_ joined07:49
jnavila joined07:50
tranzfuse left07:50
AmR|EiSa left07:51
EminenceHC left07:52
shpoont left07:52
nrsk joined07:52
The_Phoenix left07:53
shpoont joined07:53
twb left07:53
The_Phoenix joined07:53
NoNMaDDeN joined07:53
LeMike joined07:55
gH05t joined07:55
rzeka joined07:55
gH05t left07:56
The_Phoenix left07:56
wookienz joined07:57
shpoont left07:57
rzeka Hello. I am about to start to work with 2 repos. How can I handle different configurations in file per repo? Should I commit it and then just add file to .gitignore?07:57
jnavila left07:58
jnavila joined07:58
cbreak rzeka: no07:58
rzeka: don't commit configuration files07:58
Errorical left07:58
The_Phoenix joined07:58
cbreak commit default config files, maybe including optional local config files07:59
rzeka: see also !config07:59
gitinfo rzeka: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas07:59
harish_ joined07:59
bhuvanaurora left07:59
Brain joined08:00
tekkbuzz left08:00
rzeka ah ok, thanks cbreak08:00
palcu joined08:00
skorgon left08:01
hebz0rl joined08:01
PCatinean joined08:01
kimchi joined08:02
J1G|Anon126 joined08:03
DolpheenDream left08:03
govg left08:03
cbr_ joined08:04
dtrott left08:05
palcu left08:05
a_le left08:06
Nijikokun left08:06
joo-_ left08:06
LeMike left08:07
joo-_ joined08:07
Rastus_Vernon left08:07
msankhala joined08:08
Brain left08:08
Xiti left08:09
Life-Blood left08:09
nardev_ left08:09
Brain joined08:10
mennea joined08:11
dorkmafia left08:11
Solid1_afk left08:12
sgen_ left08:12
LeMike joined08:13
pasokk left08:13
pasokk joined08:13
kcj joined08:14
Steve_Jobs left08:14
GGflags_ joined08:15
joo-_ left08:15
joo-_ joined08:15
msankhala left08:16
msankhala joined08:16
rob_w joined08:17
LeMike left08:17
Etheco joined08:18
Duikb00t joined08:18
n-st joined08:18
knobo joined08:19
jargon joined08:19
nnyk_ joined08:19
phantombeta left08:20
TomyWork joined08:21
AmR|EiSa_ left08:21
Takle left08:22
devoldmx joined08:22
Guest74546 joined08:22
awkwardusername left08:22
carlosr left08:23
awkwardusername joined08:23
jb55 left08:24
shpoont joined08:25
whomp joined08:27
HACKING-FACEBOOK left08:28
blackmesa joined08:28
ManikM left08:29
ManikM joined08:29
Errorical joined08:29
NoNMaDDe_ joined08:30
J1G|Anon126 left08:30
dtrott joined08:31
dreiss joined08:31
whomp left08:31
vurma left08:32
kimchi left08:32
bhuvanaurora joined08:32
NoNMaDDeN left08:32
nilg joined08:34
psoo joined08:34
psoo left08:34
psoo joined08:35
joki left08:35
kopparam_ joined08:36
Marcus___ joined08:36
kopparam left08:36
ferri joined08:36
WORMSS joined08:36
Duikb00t left08:37
aswen joined08:37
osfe joined08:38
h4ml3t joined08:39
arup_r_ left08:39
joki joined08:40
Novitsh_ joined08:41
h4ml3t left08:42
HACKING-FACEBOOK joined08:42
skylite joined08:43
dtrott left08:43
wrouesnel joined08:43
joo-_ left08:44
philipandersen joined08:45
shodan` joined08:45
WormDr1nk left08:45
shodan` hey, I was wondering why my gitignore is not working http://i.imgur.com/9zhfHwO.png08:45
blackmesa left08:45
shodan` I also tried */config/database.php08:45
The_Phoenix left08:46
kriks left08:46
lb1a joined08:46
gfixler joined08:47
Takle joined08:47
kopparam_ left08:47
The_Phoenix joined08:47
tobiasvl shodan`: hmm, what's not working?08:47
oh, hang on, you're in application08:47
joo-_ joined08:47
shodan` Git is not ignoring application/config/database.php08:47
ye my cwd is application08:48
tobiasvl yeah, sorry, I missed your path (a screenshot with text info seems clunky…)08:48
shodan` I could plop it in a paste if you want08:48
tobiasvl nah08:48
shodan`: well, it says "modified" in front of the file. it's already tracked?08:48
you can't ignore a tracked file, you need to !untrack it08:48
gitinfo To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD@{1} file` immediately after pulling / merging08:48
shodan` hmm thanks08:49
I'll try that08:49
Solid1 joined08:49
kopparam joined08:49
shodan` deleted: application/config/database.php08:49
kriks joined08:49
shodan` I just re-add it after that commit?08:50
ah nvm I didn't fully read that bot text08:50
mennea left08:50
tobiasvl huh? why would you want to add it? I thought you wanted it ignored08:50
shodan` added as in regain the file back and have it untracked by git08:50
EminenceHC joined08:51
mennea joined08:51
virtualsue joined08:51
tobiasvl I don't follow08:51
if you did git rm --cached then you shouldn't have to regain it, it should still be there, but untracked08:51
shodan` ah I see08:52
flowinho joined08:52
cbreak shodan`: it's just a php file, if the program needs it for configuration, it'll regenerate it, right?08:52
shodan` ye, It's generated by our CI08:52
It seems to work, thanks!08:53
francisfish joined08:53
shodan` thanks guys08:53
shodan` left08:54
mennea_ joined08:55
bhuvanaurora left08:55
EminenceHC left08:55
dtrott joined08:56
bhuvanaurora joined08:57
mennea left08:58
NoNMaDDeN joined08:58
thiago left08:58
boombatower left08:58
leeN joined08:59
WORMSS Does anyone know how you are meant to detect if --no-ff (or any variation) was used from the git-merge-octopus.sh file? Need to correct an incorrect output. It always states it is Fast Forwarding the first merge, even when --no-ff is specified (and according to the log itself, it has not done an ff).09:00
n-st left09:00
berise left09:01
NoNMaDDe_ left09:01
durre joined09:02
delight left09:03
blackmesa joined09:04
The_Phoenix left09:04
The_Phoenix joined09:05
ropav_ joined09:06
CheckDavid joined09:06
mighub joined09:08
akiva left09:08
ropav left09:08
martinklepsch joined09:08
hyperboreean how can I push a branch upstream, but without the commits that have been added to it since creation ? I just want to differentiate between the moment when the branch was created and the moment when the first commits have been added09:09
gutoyr joined09:09
vurma joined09:09
jeffmjack left09:09
mighub I am having a hard time figuring out if it is better to set the config user.name and user.email, or to use the environment variables GIT_AUTHOR_* and GIT_COMMITTER_*. Can anybody explain to me the difference?09:10
wjiang left09:10
wjiang joined09:10
gutoyr left09:10
akiva joined09:11
kcj left09:11
Gizburdt left09:11
canton7 mighub, set the config09:12
mighub, the env vars are normally only used if you want to override the config for whatever reason - normally doing some particularly sneaky history editing09:12
WormDr1nk joined09:12
canton7 hyperboreean, git push remotename commityouwanttopush:branchyouwanttopushitto09:14
mennea_ left09:14
joo-_ left09:14
HACKING-FACEBOOK left09:14
joo-_ joined09:14
mighub canton, thank you. I am currently using the env vars, but when wanting to have a different user for one project, I realised I can change the local config, but the env vars still override the git config. So I started to doubt.09:14
jcalonso joined09:15
jheg joined09:15
The_Phoenix left09:15
HACKING-FACEBOOK joined09:16
vtunka joined09:16
mighub canton7, is there a distinction between author and committer in the config as well?09:16
mennea joined09:16
darnir_ left09:16
Gizburdt joined09:17
netcarver joined09:17
darnir joined09:18
Macaveli left09:18
kyb3r_ joined09:18
philipandersen left09:18
virtualsue left09:18
cvanball joined09:19
hyperboreean canton7: ha, yes, I remember now ... I forgot I can do that, thanks!09:19
virtualsue joined09:19
petersr joined09:20
arup_r joined09:20
Juzzika joined09:21
okanck joined09:21
zoso joined09:22
petersr left09:23
darnir left09:23
devoldmx left09:23
lindenle joined09:24
marcogmonteiro joined09:24
petersr joined09:25
otter768 joined09:27
bhuvanaurora left09:27
cbreak hyperboreean: a branch is ust a pointer to history, it has no history itself09:27
(apart from the reflog, which is just a safety measure)09:28
weiyang left09:28
lindenle left09:28
Macaveli joined09:29
durre left09:30
hexagoxel joined09:31
otter768 left09:31
blackmesa left09:31
canton7 mighub, yeah. the author is always the person who wrote the change. the committer is the person who committed it to the repo. if you're working in a local repo, they'll be the same. if you accept a patch (by email, etc) from someone else, they're the author and you're the committer. if you rebase someone else's commit, they're still the author but you're now the committer09:32
mighub canton7, OK I see. Thank you for the explanation.09:33
mighub left09:34
tranzfuse joined09:34
ruukasu left09:34
veebers left09:34
ruukasu joined09:34
HACKING-FACEBOOK left09:35
veebers joined09:36
veebers_ joined09:37
bremner I wish "org-mobile-push" was async09:38
veebers_ left09:38
tranzfuse left09:39
darkbasic joined09:39
hauron joined09:39
liamkeily joined09:39
darkbasic_ left09:40
bremner oops. wrong channel to whine about that. My org files are stored in git? /me wanders off, mumbling.09:40
MattMaker left09:40
Caius left09:41
veebers left09:41
dreiss left09:42
hexagoxel left09:45
veebers joined09:46
Caius joined09:47
joo-_ left09:47
wrouesnel left09:47
s8321414 joined09:48
kopparam left09:48
joo-_ joined09:48
m0nkmaster joined09:50
bq left09:50
m0nkmaster left09:50
FilipNortic joined09:50
kyb3r_ left09:50
kopparam joined09:51
kopparam left09:52
darkbasic_ joined09:52
hgl left09:52
kopparam joined09:53
EminenceHC joined09:53
darkbasic left09:54
kerrick joined09:54
ctg joined09:55
ctg Good morning09:55
osse ctg: https://www.youtube.com/watch?v=M5r5J5Ar8Pw09:56
kopparam_ joined09:56
daito left09:56
creep joined09:57
marchdown joined09:57
jatt joined09:57
EminenceHC left09:58
ctg i'm part of an IT consultancy company and we're actively recruting for Luxembourg an Application architect / Git Expert. Please feel free to contact me should you have any questions.09:58
arup_r_ joined09:59
Seveas osse: https://www.youtube.com/watch?v=c4aE7E8bzd009:59
kopparam left09:59
Seveas ctg: that's an odd jobtitle. Why combine high level thinking with low level plumbing in one job?10:01
ruukasu left10:01
delight joined10:02
arup_r left10:02
stamina joined10:03
kerrick left10:03
michael_imacmichael_mbp10:03
TomyWork https://gist.github.com/TomyLobo/045ab1848572eada6c78 how do i regenerate my git-svn revmap?10:04
veebers left10:04
NoNMaDDeN left10:05
bhuvanaurora joined10:05
ctg anybody from luxembourg here ?10:06
TomyWork ctg this channel is for discussing git, not job offers10:07
GODDOG joined10:07
beautifulmind joined10:08
jast we do allow off-topic stuff10:08
Renter 'git expert'10:08
What does 'git expert' mean?10:08
as a job description10:09
jast 'git expert' refers to me10:09
hdon Renter, someone who can clean up a mess another dev team member makes for themselves10:09
TomyWork many people here join this channel from their workplace. so you're basically trying to recruit them at their workplace. use some judgment10:09
hdon "you're in the wrong branch. let's rebase your changes"10:09
Guest74546 left10:09
albel727 left10:09
Renter TomyWork: Well, to be fair, the best time to find a new job is when you already have a job10:10
TomyWork yeah, in your free time10:10
xcesariox left10:10
bnw joined10:10
kesroesweyth left10:11
RTG` joined10:11
SumDude left10:11
dtrott In the US as least most people are salaried so any time is as good as another ....10:11
tobiasvl what does it mean to be "salaried"10:12
kopparam joined10:13
TomyWork i think it means you're free to behave like wally10:13
dtrott Fixed salary regardless of number of hours worked per week.10:13
TomyWork that is a bad idea10:13
dtrott I didn’t say it was good or bad, just that it is...10:13
NoNMaDDeN joined10:13
TomyWork someone said "sure it's 12 hours of hard work, but when it's over, the rest of the day is mine"10:14
that was some decades ago10:14
GODDOG left10:15
nnyk joined10:15
whomp joined10:15
nikita left10:16
kopparam_ left10:16
abcdefghijabcdef joined10:16
nnyk_ left10:16
abcdefghijabcdef left10:17
nikita joined10:19
hexagoxel joined10:20
nfk joined10:20
whomp left10:21
albel727 joined10:21
adamben joined10:22
_5kg left10:22
msankhala left10:23
endiruna joined10:24
echo-area left10:24
bnw left10:25
ropav_ left10:25
shpoont left10:26
darnir joined10:27
Takle left10:27
osse I get a fixed salary regardless of the numbers of hours, but everyone assumes that number to be 4010:27
and it is10:27
so yaay10:27
shpoont joined10:28
shpoont left10:28
Takle joined10:28
rath joined10:28
alorence joined10:29
ManikM left10:29
ManikM joined10:29
GGflags__ joined10:29
Kulrak left10:30
Renter fixed salaD?10:30
WORMSS osse: downside is usually what is tagged into the contract is 'you will occasionally be asked to add extra hours if necessary' and a somewhere else is 'no paid overtime'10:30
jast saladry?10:31
osse WORMSS: I think mine says '50%' :p10:31
WORMSS Though, the upside is paid holiday and paid sickness10:31
petersr left10:31
osse WORMSS: But the upside is that usually when there is no paid overtime the salary is a bit higher than if you had overtime10:31
GGflags_ left10:31
hgl joined10:32
WORMSS Though... a Fixed Salad right now sounds nice.. still another 1½ hours til lunch tho10:32
gccostabr joined10:33
wjiang left10:34
moritz sounds like WORMSS is in CET land10:34
ecky--ptang-zoob joined10:35
WORMSS +1 points for moritz :D UK to be precise10:36
Elythrow joined10:36
jslirola joined10:37
moritz I thought the UK had GMT, which is CET-110:37
or is that only different during DST?10:37
someplace UK has GMT during non-dst10:37
WORMSS Ahh, my bad, we were in CET when we were in DST10:37
dtrott GMT is only in the winter10:37
someplace and CET during DST time10:37
yeah10:37
WORMSS I forgot CET would change when we change. lOL10:38
moritz dtrott: yes, but it's winter enough not to be DST :)10:38
(we're using quite some TLAs in here :-)10:38
stamina left10:38
WORMSS Yeah, It's getting to the point I can't wear shorts anymore.. :( (I think I can get a few more days out of it though, its only -1°C)10:38
Elythrow hi10:39
gitinfo Elythrow: 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:39
gavit joined10:39
kqr joined10:40
maestrojed left10:40
NoNMaDDeN left10:40
kqr can I temporarily revert the working tree to a previous commit, without rewriting history or somesuch? (pointing HEAD to a different commit, maybe?)10:40
xcesariox joined10:41
kqr I just want to check out how the code worked a few commits ago, to see if I accidentally broke something that was previously there10:41
dtrott kqr: git checkout <sha>10:41
kqr oh that easy huh, thanks10:41
WORMSS kqr: make sure you have a clean working tree.10:42
kqr I do. will it not warn me otherwise?10:42
WORMSS Still doesn't hurt to warn before the warning :D10:42
kqr fair enough :)10:43
dtrott You will also get a warning about being on a detached HEAD.10:43
kqr yeah I read that10:43
Kulrak joined10:44
Kulrak left10:44
Kulrak joined10:44
dtrott Doesn’t hurt to warn about the warning either …. ;-)10:44
kqr and I think I understand why10:44
dtrott In short you haven’t created a branch hence if you move off it the changes become eligable for garbage collection.10:44
kqr (though now that I think of it, detached head sounds morbid)10:44
yup, gotcha10:45
bhuvanaurora left10:45
ruukasu joined10:45
jast morbid? no, not at all. !zombie10:45
gitinfo Brainzz! More brainzzzz! For information about detached heads, see !detached10:45
WORMSS Garbage collection.. Death in the digital world.10:45
mgaunard_ git does garbage collection10:49
WORMSS is that a statement or a question?10:49
mgaunard_ it's a statement.10:49
Solid1Solid1_afk10:49
WORMSS Then you are correct10:49
mgaunard_ a question would like like this: "does git do garbage collection?"10:49
Solid1_afkSolid110:49
mgaunard_ my point is that garbage collection can't be this bad if git does it10:50
WORMSS can still have the question as "git does garbage collection?" grammatically it may not be correct, but people still ask questions that way10:50
dtrott Yea but it is customary to end a question like that with a ?10:51
bremner /join #englishpedantry10:52
philipandersen joined10:52
WORMSS It's not bad. it just means it is the death of those commits/objects. There has been a few times were someone has deleted a remote branch before pulling and the person who made the original commit was not in the office.. So we had to go into the remote's garbage to create a new branch to the commit.10:52
Elythrow left10:52
darkbasic_ left10:53
WORMSS So thankfully the garage collection hadn't triggered so it was still safe..10:53
darkbasic joined10:54
dtrott I believe the default is somewhere around two weeks before garbage is collected.10:54
Aristata joined10:54
WORMSS Yeah, Github doesn't state when they do garage collection. So I take that as anywhere from immediately to a month.. So it scares the hell out of me every time it happens10:54
Aristata If a have a branch with new work on it, and I merge it into branch 'A', then revert it because I didn't want to merge it into branch 'A' but instead branch 'B', why would I lose all of that work when merging branch 'A' into branch 'B'?10:55
xcesariox left10:55
Aristata And also, how can I avoid that?10:56
Trudko joined10:56
WORMSS the new merge of 'work' into B would have a timestamp after the merge and revert of branch 'A' so, I would **GUESS** no it would NOT wipe out the code.10:57
Let me test that now though.10:57
teran left10:57
Aristata I feel like this has happened to me a number of times now, though I haven't noticed until much later.10:58
normalra joined10:58
Aristata WORMSS: Thank you10:58
kesroesweyth joined10:58
dtrott Aristata: Merges don’t loose any history, everything you ever did will still be in the repository10:58
bq joined10:58
WORMSS I think he means will it be in the working tree after the merge B into A10:58
sorry, A into B10:59
Aristata dtrott: I realize that, but when the merge takes out many files it's a pain to go back and grab them all.10:59
EminenceHC joined10:59
dtrott My point is that its zero effort find the point before the merge and branch from that SHA10:59
Aristata dtrott: I would like to find out what I am doing wrong to prevent this in the future.10:59
t0th_-___ joined11:00
Aristata WORMSS: Correct, it seems the changes are lost.11:00
spaceone hi11:00
i have a very large hunk which i cannot apply anymore. Is it possible to split the hunk into multiple hunks?11:01
hush left11:01
palcu joined11:01
normalra Hello! I'm on 2.1.3 and was wondering if Git, for cloning large repos (~1GB), resumes interrupted downloads from the temporary data or from the beginning?11:02
dtrott spaceone: git add has a -p switch which may be what your looking for.11:02
darnir left11:02
EminenceHC left11:03
spaceone dtrott: well no, this works only for single hunks. my problem is that i have a hunk (in a .patch file) which i need to split into multiple small hunks so that at least some can apply11:04
WORMSS Aristata: Yep, seems I was wrong.. A would infact Destroy the work..11:04
Gizburdt left11:04
WORMSS Aristata: ahh, you already found that out..11:04
spaceone and that i can remove some context there if nessesary11:04
zhxt left11:05
mkaesz joined11:05
clauswitt left11:05
palcu left11:05
Takle left11:05
_5kg joined11:06
CheckDavid left11:07
kopparam left11:07
dpio joined11:07
Aristata WORMSS: So what would be the proper way to handle that?11:07
WORMSS I have just been trying to work that out..11:08
zhxt joined11:08
cbreak normalra: git doesn't resume.11:09
WORMSS Aristata: Ok, I just did something quiet scary. But it actually worked for me, but obviously I have a VERY VERY limited test case here..11:09
yamatoxxx joined11:10
Aristata WORMSS: I am all ears11:10
WORMSS What I did was merge A into B but only to the working tree, (--no-commit) and then reverted the commit in A that reverted the inclusion of the work branch, (again to the working tree)11:10
kopparam joined11:10
raatiniemi left11:11
WORMSS and then finalized the commit11:11
Aristata WORMSS: Yikes, the issue with that is that I have other developers that have reverted the merge, and I might not always know this. I need a better solution than revert to undo a merge. Perhaps the best way might have been to reset branch 'A' to right before the merge rather than revert the merge?11:12
normalra cbreak: Ah, that's good to know, thank you.11:13
creep left11:13
NoNMaDDeN joined11:13
WORMSS Aristata: as I said, quiet scary.11:13
zhxt left11:13
petersr joined11:14
Takle joined11:15
kopparam left11:15
paul424 joined11:15
kopparam joined11:15
devoldmx joined11:16
Aristata WORMSS: Would my reset to before the merge rather than reverting the merge accomplish not losing that work?11:16
WORMSS Aristata: I do not know what this would do on a much bigger test base. (Since I do not have a more complicated tree to do that with instantly). But I can clearly see the finalized merge does indeed have the work left in branch B, since the removal of the work in A was on a single 'revert' commit. So it was easy to undo the undo. (My head hurts)11:16
petersr left11:17
WORMSS Aristata: I was presuming Branch A had alot more work on it, with other people having commits 'after' the revert commit had happened11:17
If you have the option then yes, reset before the accidental merge, (and possibly rebase everything else back on top), and then merge into B would be the best.11:18
philipandersen left11:19
philipandersen joined11:19
Macaveli left11:19
WORMSS You say this accidental merge happens alot? Is this with a GUI? or command line?11:20
flowinho left11:20
nilg left11:21
kqr is there somewhere I can read about branches and garbage collection and such? I've never really felt like I understand how branches work... well, at all. I mean I can create them and push and pull to/from them but that's where my knowledge stops. can you delete branches? can you create branches without commits? and so on11:21
WORMSS It doesn't effect anything, just curious11:21
ruukasu left11:22
nettoweb joined11:22
devoldmx left11:23
tranzfuse joined11:23
WORMSS kqr: Branches point to a commit id.. (Full stop). When you make a new commit, it adds what ever that branch is pointing to, as the commits parent, and the changes the branch to point at the new commit ID. (Full stop)11:23
I think that is pretty much the end of it.11:24
paulweb515 joined11:24
WORMSS Everything else becomes the capabilities of the commits themselves.11:24
tobiasvl that seems to cover it, yes11:24
of course, you also have !remote_tracking branches11:25
gitinfo [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the corresponding branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a new local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote11:25
tobiasvl which are special11:25
Gizburdt joined11:25
mennea left11:25
zhxt joined11:25
darnir joined11:25
darnir left11:26
dougsland joined11:26
darnir joined11:26
kqr hm okay11:26
so branches are like read-write references to local commits while remote-tracking branches are read-only references to local commits and additional information on where to get new commits?11:27
WORMSS I don't really class 'remote tracking branches' anything more than a simple branch either. All they do again is point to a commit ID. It is the Log that does the hardwork of working out that a branch is x commits ahead/behind11:27
mennea joined11:27
tranzfuse left11:27
BSaboia joined11:27
otter768 joined11:27
Macaveli joined11:28
kqr git is definitely not structured the way I expect it to11:28
though that's not a bad thing11:28
it seems way simpler than I want it to be11:28
paulweb515 left11:28
philipd joined11:29
philipandersen left11:29
WORMSS I think that might be deceptive.11:29
It is simple, but then things get built apon its simplicity :D11:30
kqr haha yeah I guess11:30
punchagan left11:30
punchagan joined11:31
King_Hual joined11:31
mkaesz left11:31
kopparam left11:31
zhxt left11:31
WORMSS I came from SourceSafe to SVN, and SVN was a god send... I then went from SVN to Git, and Git was a nightmare.. Until the lightbulb went on 1 day and the fog cleared... Now Git is Double the God send that SVN to SourceSafe was11:32
vtunka left11:32
osse WORMSS: CET doesn't change. But its users switch to CEST11:32
otter768 left11:32
osse wel... some ofthem11:32
WORMSS osse: you been researching that all this time?11:33
lol11:33
raven-au left11:33
osse WORMSS: no, I was at lunch :P11:33
WORMSS Yeah, I stopped trying to work out the rest of EU's time zones.. Some of them make no sense. It hurts just trying to work out the UK some times.11:34
osse it does?11:35
iamjarvo joined11:36
dangerousdave joined11:36
tvw joined11:36
ManikM left11:36
aynik joined11:37
Takle_ joined11:37
durre joined11:37
vtunka joined11:37
WORMSS If you look at Portugal for example.. It is the same longitude as the UK, Its actually even more west than ALL of England and Wales.. Yet, it has the same time zone as Germany.11:38
mkaesz joined11:38
iamjarvo left11:39
Takle left11:39
mennea left11:39
WORMSS I am a firm believer in just having everyone on UTC..11:39
nettoweb left11:40
jslirola left11:40
vital left11:40
WORMSS no BST or DST or what ever people want to call it.11:40
osse it doesn't have the same timezone as germany11:40
mennea joined11:41
marchdown left11:41
WORMSS I was told it does?11:41
Let me look11:41
ManikM joined11:41
mskaesz joined11:41
vital joined11:41
WORMSS Ok, even worse, portugal has 2 time zones :(11:42
niro joined11:42
niro left11:42
niro joined11:42
WORMSS I give up now.11:42
paulweb515 joined11:42
mennea left11:42
mkaesz left11:42
WORMSS World needs a reset!11:42
k_sze[work] left11:44
mennea joined11:44
polyzen left11:44
osse nah11:44
portugal has two because of the azores. same reason the US has 4 or 5 and Russia has 11 or whatever11:45
deepy I'm still surprised we don't have a location-independant timezone11:46
jast we do, it's called UTC11:47
osse huh? all timezones are independent of location11:47
jast except they only apply to specific locations :)11:47
someplace most of them only for half the year11:48
osse if you mean people usually use them only in specific lcoations then I agree11:48
nettoweb joined11:48
bhuvanaurora joined11:48
zhxt joined11:48
osse but it's not like you get "undefined behaviour" if you use CET in China11:48
tobiasvl timezones are locations, but times in the timezones are universal. the time now is 11:48 UTC no matter what your location is :P11:49
or 12:48 CET, regardless of location11:49
etc11:49
someplace it's 11:49 for me11:49
jast it's actually 11:4611:49
ecky--ptang-zoob left11:49
osse tobiasvl: yes, so why are timezones locations then?11:49
deepy But if you say 14:00 UTC when in China people will look at you like you're silly11:49
WORMSS nope, 11:4911:49
someplace see, we don't need timezones to have an argument over time!11:49
tobiasvl hehe11:49
WORMSS LOL11:49
tobiasvl it was 11:48 while I typed, but my message was timestamped 11:49 here too, so we agree on that time11:50
zheng joined11:50
tobiasvl jast's 11:46 is a problem though11:50
he's in the past11:50
jast someone screwed up NTP on this system then11:50
skylite_ joined11:50
someplace it's 11:50 though11:51
and now it's 11:5111:51
WORMSS Or maybe, your internet connection is traveling faster than the speed of light?11:51
jast agreed, now11:51
I have three different ideas on what the current time is on my screen11:51
raven-au joined11:51
atran left11:52
jast one via SSH (wrong), one in the host system (wrong), one in the virtual machine (correct)11:52
deepy Jokes on you, time is an illusion11:52
NEITHER ARE CORRECT11:52
jast let's bring the theory of relativity into this11:52
osse one time that is always correct is 'now'11:52
WORMSS I was about to say My watch agrees with my phone.. but since my watch is maintained by my phone, I kinda facepalmed myself11:52
zheng left11:52
nettoweb left11:53
wrouesnel joined11:53
osse my watch doesn't even handle months with fewer than 31 days in them11:53
someplace "now" isn't future proof11:53
osse someplace: it wasn't, but it is now11:53
WORMSS Is that true if you take quantom theory into account? since it could be both NOW and Not NOW at the same time?11:53
someplace "then" will only be wrong once, "now" will only be right once11:54
palcu joined11:54
WORMSS Oh dear, I think we just invented "Schrodinger's Watch"11:54
zoso left11:56
deepy If you start reading 'now' is it still 'now' when you finish?11:56
osse no he used a Tag heuer11:56
dtrott left11:56
xcesariox joined11:56
osse deepy: yes11:56
deepy And if so, was it now when you started?11:56
GGflags__ left11:57
osse also yes11:57
someplace interesting..11:57
osse 'now' continually changes meaning to mean... well... now11:57
wxg4irc joined11:57
dsdeiz_ left11:57
deepy Then now can't be now11:57
tobiasvl TIME IS RELATIVE11:57
READ UP ON EINSTEIN, SHEEPLE11:57
WORMSS Does this mean Time is able to rebase?11:57
osse deepy: correct11:58
deepy I don't think time exists at all11:58
And each monday proves this to me11:58
leeN left11:59
WORMSS Are we still Monday? God Damit.11:59
palcu left11:59
osse some are11:59
I think there are some timezones that are UTC - 12:30 or something11:59
bhuvanaurora left11:59
osse in which case there is a half hour of monday left12:00
WORMSS Though, I did hear 'It's always Monday somewhere in the world' once.. I can't remember where, but again, Facepalm12:00
osse but it's late so they're probably watching TV or in bed12:00
tobiasvl WORMSS: actually it's always monday in indonesia. little known fact12:00
MattMaker joined12:01
WORMSS Maybe someone should finally take down that paper calendar page?12:01
osse let's talk first days of the week!12:02
the correct answer is: Monday!12:02
deepy tuesday12:02
tobiasvl monday obviously12:02
deepy Productively speaking it can't be a Monday12:02
no work gets done on Monday12:02
osse tobiasvl: what's your LANG set to?12:02
tobiasvl osse: nb_NO.UTF-812:02
deepy nb?12:03
osse tobiasvl: run this: 'LANG=en_US.UTF-8 cal'12:03
tobiasvl ugh12:03
osse BEHOLD the first column!12:03
WORMSS Monday, otherwise the term 'weekend' would be crazy if half of it was on the first of the week'12:03
tobiasvl osse: what a nightmare12:03
deepy: http://en.wikipedia.org/wiki/Bokm%C3%A5l12:04
whomp joined12:04
tobiasvl osse: are you in the US? how does the first day being sunday affect the CULTURE?!12:04
EminenceHC joined12:05
tobiasvl "ah, now it's a fresh new week here, let's kick back one more day"12:05
teran joined12:05
martinklepsch left12:05
osse tobiasvl: i am not in the US12:05
but I would presume it doesn't affect culture at all12:05
teran_ joined12:06
osse it would explain why all the good shows air on sundays though12:06
because starting a new week sucks12:06
mgaunard_ left12:07
doev joined12:08
moritzs joined12:08
osse tobiasvl: 'LANG=en_GB.UTF-8 cal'12:08
arnaud___ left12:08
EminenceHC left12:09
tobiasvl phew12:09
whomp left12:09
teran left12:10
Walex left12:11
tier joined12:11
Walex joined12:11
normalra left12:12
osse how about this: , or . for decimal separation?12:12
pi = 3,14 versus pi = 3.1412:13
tobiasvl we use , in my country but I have no strong feelings about it. I assume . is the ISO standard?12:13
never actually looked into that12:13
osse "how big is a billion?" and on and on it goes12:13
dangerousdave left12:13
tobiasvl yeah jeez12:14
ok ok ok12:14
imperial vs metric12:14
GO!!!12:14
xcesariox left12:14
WORMSS I hate that Google doesn't realise you cannot do 15.5 st12:14
osse http://en.wikipedia.org/wiki/Decimal_mark#mediaviewer/File:DecimalSeparator.svg12:14
WORMSS Because that is 15st 6lbs12:15
osse: that annoys me with currency.. Some countries to 12.345.678,9012:15
marchdown joined12:16
WORMSS sorry, didn't make that very clear, 1.23.456,7812:16
dangerousdave joined12:16
WORMSS Double and then triple divides12:16
jast but why?12:16
osse WORMSS: who does that? :O12:17
tobiasvl osse: ah, that's interesting. , is way more prevalent than I thought12:17
WORMSS Oh god, please dont ask me that.. ermm... Let me find it again.12:17
osse WORMSS: J'accuse!!! I was just reminded that I had a UK math book where the multiplication mark was identical to a full stop12:19
WORMSS India uses thousands/lakh/crore separators12:19
osse it would say 5 . 3 = 1512:20
uuuuuugh12:20
WORMSS ?? Really? we usually use x as children or * as adults12:20
tier left12:20
osse an asterisk? I don't meany in your crappy documents written in Word or whatever. I mean in properly set academic text12:20
WORMSS well, I say Adults..12:21
osse (or hand written)12:21
WORMSS Ahh, academic, I think I may have seen that before. But not a 'usual' way of doing things.12:21
pullphinger left12:21
EminenceHC joined12:22
ksk joined12:22
WORMSS I could always drop the major argument bomb.... US Date format..12:23
jast if you don't use a middle dot I'm not gonna take you seriously :}12:23
osse prefers a middle dot12:23
osse except when I can get away with writing nothing12:23
moritz middle.dot12:23
WORMSS ducks and covers12:23
jast disintegrates moritz12:23
Takle_ left12:23
moritz becomes a corrosive cloud, heads for jast's hardware12:23
jast which isn't to say I'm differentiating you or anything12:23
msankhala joined12:23
jast (gotta love unfunny math puns)12:24
WORMSS is middle dot the equilent of calling underscore lodash?12:24
jast no, middle dot is the official name12:24
http://www.fileformat.info/info/unicode/char/00b7/index.htm12:25
samsquanch joined12:25
JohnBat26 left12:25
WORMSS Hahar.. I found it 0183.. ·12:25
bq left12:25
jast okay, the official name of underscore is not underscore12:25
it's LOW LINE \o/12:26
endiruna left12:26
WORMSS really? wow, I feel cheapened by the English Language now..12:26
jast well, official according to the unicode consortium, I suppose12:26
Seveas jast: $cow_orker keeps calling it underbar. Annoys me to no end :)12:27
EminenceHC left12:27
jast wikipedia calls it underscore12:27
"(also called understrike, underbar, low line, underdash, underline, downspace, or low dash)"12:27
WORMSS underbar :D I like that one :D12:27
jast I'm gonna call it downspace from now on to confuse everyone12:27
osse underbar is wunderbar12:27
Seveas underbar is where I am at the end of a good night :)12:27
WORMSS osse: exactly12:28
jast gcc -Wunderbar12:28
this has potential12:28
clauswitt joined12:28
Seveas osse: damn you. Said $cow_orker is german, I shall be calling this thing the (w)underbar from now on.12:28
jast: what would it do? Warn if you use them? :)12:28
ManikM left12:29
devoldmx joined12:29
vtunka left12:29
ManikM joined12:29
Takle joined12:29
jast Seveas: no idea. it's gcc, it could be doing pretty much anything...12:29
WORMSS feels left out of the *nix joke :(12:30
Seveas gcc -Worms -Wunderbar -Wall12:30
ThomasLocke joined12:30
osse gcc -White-supremacy12:30
WORMSS should I be backing away slowly?12:31
Renter you should always back up12:31
jast gcc -Drop -Dwarf -Down -Drain12:31
arup_r_ left12:32
kopparam joined12:32
Gitzilla left12:32
barduck joined12:32
skylite_ left12:33
sinkensabe left12:33
osse tobiasvl: i'd vote for metric, but I think the meter is a little too long12:34
it should be about 80 cm in today's terms12:34
it's always longer than you think12:34
jast (reference to westley.c in 11th IOCCC)12:34
ctg left12:34
durre left12:35
WORMSS Just mix it all up like we do. :D 200mm by 4 inches12:35
annoys the hell outta people.12:35
arup_r joined12:35
osse it's fun when you confuse yourself, re: miles to the gallon12:35
WORMSS I still cannot understand the Meter or KM though..12:36
jast what's there to understand? it's a unit of length.12:36
osse WORMSS: there's nothing to understand: a meter is a defined length. a KM is a thousand of them12:36
WORMSS osse: what is worse, is our fuel pumps work in Liters (UK, not US), but all our car performance benchmarks in Miles to Gallon12:36
osse WORMSS: which gallon though? :P12:36
jast and which mile?12:37
Renter osse: one gallon, duh12:37
durre joined12:37
WORMSS That is a great question.. The one that is not water down12:37
Solid1Solid1_afk12:37
netj left12:37
netj joined12:37
kopparam left12:37
Renter WORMSS: the right answer is probably 'whatever works for the marketing people since they never have to explain anyway'12:37
jast how about attoparsec to pint12:37
osse WORMSS: watered down? so the smaller one?12:37
JohnBat26 joined12:37
jast no, watered down means more water per volume12:38
moritz finds the non-metric heat conductivity especially funny: Btu/(hr F ft)12:38
Solid1_afkSolid112:38
jast i.e. probably nautical mile12:38
WORMSS I think its the smaller one.. yeah.. Because I think there is 1 gallon (uk) of fuel, in the 1 gallon (us).. but there is also something to water it down.. So you are actually paying for 1UK gallon of fuel + some extra stuff that does nothing for the engine.. but then you buy by the US gallon12:39
marchdown left12:40
osse but the UK one is the bigger one12:40
sinkensabe joined12:40
WORMSS If that is the case, then I have no idea what is going on..12:40
osse hence a UK pint is more manly than a US pint.12:41
But I don't think "pint" is "a thing" in the US12:41
WORMSS no no, 1 US gallon = 0.832 UK gallon12:41
osse exactly. the UK one is larger12:41
WORMSS so when you by 1 US gallon of petrol at the station.. You are getting 0.8326 amount of petrol, + 0.1674 of FILLER liquid12:42
MattMaker left12:42
osse !?!?!12:42
WORMSS Well, you need a bigger container for the US gallon, so I would say that is bigger12:42
osse ?!?!?! again12:42
moritz speaking of which, the energy companies ripp you. They send you the current through the wire, and then THEY GET IT BACK through the null wire12:42
and then they can sell the same current again!!! :-)12:43
osse WORMSS: what makes you think a US gallon takes up more space when less than one UK gallon is equal to it?12:43
WORMSS 1 UK Gallon is 1.20095 US Gallon.. (EG, bigger)12:44
okanck left12:44
osse yes12:44
nettoweb joined12:44
palcu joined12:44
netcarver left12:44
JohnBat26 left12:44
WORMSS Ahh, yeah.. penny dropped..12:45
osse which penny?12:45
WORMSS Aussie penny12:45
osse a penny-penny or a cent-penny?12:45
oooh12:45
WORMSS actually.. Canadian Penny... Since.. Have they not taken that out of circulation now?12:46
Steve_Jobs joined12:46
osse yeah the Aussies are über metric. They list their car POWER in kilowatts. That's pretty badass12:46
palcu_ joined12:47
virtualsue left12:47
JohnBat26 joined12:47
arup_r left12:47
dbolser joined12:47
osse moritz: but then 1/50 of a second later they send it back the other way :O12:48
WORMSS That will make a lot more cents (coughcough) when the primary car becomes eletric rather than petrol again12:48
dbolser hello, I'm stuck... I have two repos configured, and want to compare a branch on one with a tag on the other, where the branch and the tag have the same name12:48
WORMSS since back in the day, there were more eletric cars in the world rather than petrol12:48
knobo left12:48
WORMSS dbolser: could you set up the second repo as a Remote on the first?12:49
palcu left12:49
WORMSS Do they share any commits at all?12:49
dbolser I have both remotes 'configured' in my repo12:49
WORMSS: yes12:49
WORMSS command line?12:49
dbolser they are a) 'central ro' and b) local rw + a patch12:49
yes12:49
osse WORMSS: yes because HORSEpower makes sense for petrol in the first place :P12:50
WORMSS osse: you got me on that one..12:50
wrouesnel left12:50
osse also watt has nothing to do with electricity :p12:50
dbolser git show ..drupal/7.x-3.1 # fatal: ambiguous argument '..drupal/7.x-3.1': unknown revision or path not in the working tree.12:50
osse (in principle)12:50
WORMSS dbolser: just trying to remember the commands for that12:50
WATT???12:50
osse dbolser: remove the ..12:50
dbolser fatal: ambiguous argument 'drupal/7.x-3.1': unknown revision or path not in the working tree.12:51
osse dbolser: is 7.x-3.1 a branch or a tag?12:51
both?12:51
dbolser 7.x-3.1 is the tag in the remote called drupal12:51
tag in drupal, branch in origin12:51
sburgess joined12:51
WORMSS 's head hurts12:51
osse dbolser: git diff refs/remotes/origin/7.x-3.1 refs/tags/7.x-3.112:52
dbolser: unlike branches, tags don't belong to a specific repo. they are in a shared namespace12:52
dbolser osse: ah ha...12:52
ic12:52
osse: that was my next question!12:52
WORMSS That I didn't know12:52
osse I am clairvoyant12:52
dbolser claire voyant?12:53
she was my highschool teacher12:53
WORMSS Chair Bouyant?12:53
dbolser WAT?12:53
DolpheenDream joined12:53
WORMSS your teacher was called Claire Voyant?12:53
dbolser WATT?12:53
arup_r joined12:53
dbolser no not really12:53
Jonuz left12:54
osse dbolser: https://www.youtube.com/watch?v=D-3ra8Jsmjk12:54
WORMSS damn it.. I had a line of jokes forming in my head12:54
dbolser WORMSS: just pretend I said yes12:54
WORMSS lol12:54
too late, moment has passed12:54
CKyle joined12:54
osse JOULES PER SECOND???12:54
teran_ left12:54
dbolser my jim teacher was called simon kickk12:54
WORMSS Gems per hour?12:54
dbolser we called him si-cick12:54
osse: "This video is unavailable with Safety Mode enabled. To view this video, you will need to disable Safety Mode"12:55
arup_r left12:55
WORMSS I had a 'Hench Hunter' as a P.E teacher..12:55
okanck joined12:55
osse dbolser: spotify:track:24AujSHrDjhVIn3qc1COAV12:55
dbolser osse: got it12:56
knobo joined12:56
dbolser now to rebase my branch on that tag...12:56
ams__ams_12:56
WORMSS has not done any work in ....... what Time zone are we in?12:56
osse WORMSS: doesn't matter :p12:57
dbolser thanks for help12:57
osse: it does if he's traveling...12:57
teran joined12:58
WORMSS We are all traveling..12:58
just depends relative to what12:58
teran_ joined12:58
u1106 left12:58
martinklepsch joined12:58
CKyle left12:59
WORMSS Oh, god, that reminds me when I was returning from Finland from holiday..12:59
osse WORMSS: you can probably get off murder charges that way. "Not my fault he traveled very fast in the direction of my stationary, levitating bullet!"12:59
u1106 joined13:00
fstd_ joined13:00
WORMSS when my plane taken off, UK was in BST, by the time I landed, UK was NOT in BST... Trying to organise when to be picked up was a nightmare13:00
cbreak osse: careful13:01
osse: I heard the british police kills first, and asks questions later13:01
Ionic left13:01
cbreak if you're black and trying to catch a train at least13:01
WORMSS cbreak: lol, UK police have no guns..13:01
osse :O13:01
WORMSS (well, some do, but only specialist)13:01
cbreak specialists in ... shooting people?13:01
jast there are big friendly green buttons in the tube stations in London13:02
roelmonnens left13:02
jast still haven't figured out what they do, but my hypothesis is they activate sentry guns13:02
WORMSS yeah.. My friend is currently taking the exams to be what you would consider SWAT13:02
teran left13:02
roelmonnens joined13:02
WORMSS jast: you would wish they were sentry guns.. atleast you would know what fate is instore for you if you did it13:03
Sometimes the mystery is worse than the punishment13:03
cbreak http://en.wikipedia.org/wiki/Death_of_Jean_Charles_de_Menezes13:03
TomyWork <WORMSS> Though, the upside is paid holiday and paid sickness13:03
subhojit777 left13:03
TomyWork that is required by law over here13:03
jast IIRC the signs say "if you feel uncomfortable press the green button"13:03
fstd left13:04
fstd_fstd13:04
osse cbreak: oh snap13:04
jast sentry guns definitely take care of feeling uncomfortable13:04
WORMSS they let you have a nice lay down13:04
CKyle joined13:04
WORMSS with your hands behind your head13:04
rchavik left13:04
WORMSS though, face down is not that great13:04
But they give you 5 seconds to comply13:04
4 seconds to comply13:04
jast a brief sharp increase in uncomfortableness, then... total lack of lack of comfort13:04
WORMSS 3... you get the idea13:04
acolson left13:05
arup_r joined13:05
cbreak WORMSS: reminds me of Robocop13:05
TomyWork anyway, I've rebased and filter-branched my git-svn clone around a bit, now I can't do "git svn rebase" anymore, not even find-rev would work13:05
jcalonso left13:05
cbreak WORMSS: ... or judge dread13:05
TomyWork git svn fetch does, though13:06
WORMSS git svn..... the dark art13:06
cbreak TomyWork: reset --hard to the svn head, discarding local history an option?13:06
arup_r left13:06
WORMSS they should just change it to git magic13:06
TomyWork cbreak that would undo my rebasings though13:06
thigns like changing names and such13:06
(didnt touch the git-svn-ids)13:07
i did mess with the rest of the commit messages though. they were horribly ungitty13:07
beautifulmind left13:07
cbreak TomyWork: yes, throw them away13:07
TomyWork: if you want to commit back to svn you can't rewrite history13:07
esc regarding the recent conversion I had about rebase vs. cherry-pick in this channel13:08
https://bugs.eclipse.org/bugs/show_bug.cgi?id=44711513:08
...13:08
TomyWork cbreak huh, why not?13:08
cbreak TomyWork: because svn doesn't support history rewriting13:08
jatt left13:08
TomyWork yes, but all i'd need would be a regenerated rev_map13:08
cbreak esc: doesn't look like a git problem13:08
esc cbreak: no it isn't13:09
just someone decided to implement cherry-pick using rebase13:09
for whatever reasons...13:09
TomyWork oh, turns out deleting it and doing find-rev works just fine13:09
cbreak esc: should be the other way around13:09
snonez joined13:10
k_sze[work] joined13:10
snonez left13:10
snonez joined13:10
LucasTT joined13:11
tranzfuse joined13:11
arup_r joined13:11
fr33domlover left13:12
endiruna joined13:12
vtunka joined13:12
cannonball joined13:12
arup_r left13:13
snonez left13:13
snonez joined13:13
fr33domlover joined13:13
EminenceHC joined13:13
Milkweed joined13:13
jatt joined13:14
k_sze[work] left13:14
jatt left13:16
tranzfuse left13:16
snonez left13:17
polyzen joined13:17
acolson joined13:18
sebhoss joined13:18
EminenceHC left13:18
arnaud___ joined13:18
nezZario left13:19
devhost left13:21
devhost joined13:21
e66 left13:22
e66 joined13:22
WORMSS osse: anyone have any idea why a 'common commit' is needed for a octopus merge?13:23
CKyle left13:24
WORMSS I have 3 non conflicting orphan commits, trying to merge them using octopus..13:24
jast assuming you mean a merge base... there needs to be some reference to figure out which changes on each branch should be applied as part of the merge, and which are already part of the target branch13:24
t0th_-___t0th_-_13:25
jast with recursive merge, orphan merges work, though you don't get conflict markers inside files; the whole file will conflict13:25
maybe this is not implemented for octopus...13:25
eletuchy left13:25
CEnnis91 joined13:26
WORMSS how about "all of it"13:26
ahh, sorry, my client didn't scroll down13:26
jast naughty client13:27
tristanp joined13:27
tmcmahon joined13:27
WORMSS well, need to get a proper client, I'm using freenode's webchat13:27
crose joined13:28
arnaud___ left13:28
otter768 joined13:28
Gizburdt left13:29
jast I don't actually have any idea what octopus does... and AFAIK virtually nobody uses it13:29
WORMSS Just a shame. Noone is giving the love to the octopus merge.13:29
osse it's used in linux all the time13:29
WORMSS I would, but I just not *nix enough to understand how.. :(13:29
knobo left13:30
deepy octopus?13:30
encod3 joined13:30
jast deepy: 'git merge' with more than one argument13:30
WORMSS jast: It's the orgy of parenting.. Why have 2 parents when you can have multiple :D13:31
Raging_Hog left13:31
WORMSS We have several tools all made in different repos.. We decided to have 1 repo for the lot of them.. The last commit on all repos was to put all files within their own folders. And then I set all tools repos to be remotes.. and said.. NOW.. MERGE THE LOT OF THEM... (FAILED)..13:33
Akagi201 joined13:33
osse linux's master branch currently has 876 octopus merges13:33
jast and OTOH I don't understand recursive merge well enough to know whether octopus could be implemented similarly13:33
otter768 left13:33
WORMSS So now I need to merge 1 by 1... :( No need.. :(13:33
Gizburdt joined13:33
jast the individual branches already have the tools in their own subdir each?13:33
osse WORMSS: there's no common ancestor then. probably best to use commit-tree13:33
msankhala left13:33
alexKuleshov joined13:34
jast if so you can make merge commit manually13:34
crose left13:34
jast *the13:34
WORMSS never used that?13:34
jast it's basically what happens at a lower level13:34
tvw left13:34
danemacmillan joined13:35
WORMSS jast: merge them all to the working tree and then finalise?13:35
jast summary: git read-tree with the proper prefix args and such to read all of the tools branches (or, rather, the files on them) into the index, git write-tree to create a tree object from the combination, git commit-tree (passing the tree ID, the parent IDs and the commit message)13:35
instead of using read-tree I suppose you can 'git merge --no-commit' the branches individually13:36
ap0c left13:36
iamjarvo joined13:37
cagedwisdom left13:37
blackmesa joined13:37
WORMSS jast: just tried the --no-commit now.. can only do 1.. soon as I tried the second, it said I have not concluded your merge13:38
ap0c joined13:38
ap0c left13:38
ap0c joined13:38
osse WORMSS: do all the commits one by one. then you can use commit-tree to make it all easier13:38
because then the index and whatever is already good to go13:38
jast hmm13:39
WORMSS Give me a minute to read up on read-tree and commit-tree13:39
jast how about --squash --no-commit13:39
oh, --squash implies --no-commit, according to the manpage13:39
Guest63882 left13:40
Consuela left13:40
WORMSS does that remove the history of the tools?13:40
MarkyC joined13:41
osse no13:41
jast generally, yes, but we're only using it for prep work13:41
liamkeily left13:42
kadoban joined13:43
dsdeiz joined13:44
WORMSS what is a tree-ish#13:44
tvw joined13:44
osse WORMSS: a tree or something that contains a tree13:44
such as a commit or tag13:44
WORMSS I presume this is not the Sha id?13:45
of the last commit?13:45
osse it is *a* SHA ID yes13:45
jast it's anything that can resolve to a tree ID/object13:46
osse WORMSS: git rev-parse master will give you the commit ID. git rev-parse master^{tree} will give you the tree id13:46
ruukasu joined13:47
nikita left13:47
wrouesnel joined13:48
WORMSS this has quickly gone beyond my usual level of git.. lol13:48
knobo joined13:49
mikemonteith joined13:50
tristanp left13:50
jast welcome to the dark side13:50
nikita joined13:50
WORMSS Do you have cookies>?13:50
jast we have refspecs13:51
WORMSS You know, the moment I get this working.. I will jump for joy.. and instantly forget everything13:51
wxg4irc left13:51
durre left13:52
osse you know, you could merge each branch seperately and get on with it13:53
felipedvorakshiva13:53
jast don't spoil all the fun now :(13:53
WORMSS yes, but now I am determined to try and understand this dark art13:54
shivafelipedvorak13:54
ap0c left13:54
jast give into your anger. your anger makes you strong.13:54
hollusion joined13:57
ColdKeyboard joined13:57
WORMSS meh.. i am not understanding this :(13:57
give me a second.. actual work..13:57
osse then ask questions13:57
gavit left13:57
vtunka left13:58
tristanp joined13:58
hollusion hey guys, git diff --name-status HEAD HEAD^ shows me the edited files compared to last commit. is there a way to filter these only for files that got toughed by user X?13:58
barduck left13:58
hollusion *touched13:58
osse hollusion: only one user touched all of those files, and that user is the author of the comimt13:58
astrofog joined13:58
barduck joined13:59
n-st joined13:59
mikemonteith left13:59
hollusion osse: yes but what happens if i replace HEAD^ with an older commit13:59
n-st left13:59
jerius joined13:59
osse hollusion: git log --author=X HEAD~5..HEAD14:00
n-st joined14:00
n-st left14:00
WORMSS is there anythign I need to do to make sure git read-tree is reset?14:00
liamkeily joined14:00
tier joined14:01
delboy1978uk joined14:01
delboy1978uk http://pastie.org/9742508#21 what does this mean? updates were rejected?14:02
hollusion osse id like to get a list of all touched (edit, added) files from HEAD to SHA14:02
jast delboy1978uk: faq non-ff14:02
gitinfo delboy1978uk: Your push would lose changes on the remote; more details available at https://git.wiki.kernel.org/index.php/GitFaq#non-ff14:02
hollusion osse: and deleted14:03
smth like git diff --name-status does14:03
jast delboy1978uk: you were pushing two branches at the same time. your update on dev-master went through, the one on master did not.14:03
arup_r joined14:03
sohail joined14:03
osse hollusion: git log --author=X --pretty=' %s' --name-status HEAD~50..HEAD | sed '/^$\|^ /d' | sort -u14:03
Milkweed left14:04
jast delboy1978uk: if you always want to, by default, push the current branch only, use the command with 'simple' in the long message up top, which will also make the message disappear in the future :)14:04
osse WORMSS: what do you mean?14:04
arup_r left14:04
hollusion osse: HEAD~50 is 50 commints before current?14:04
osse hollusion: yes14:05
hollusion: replace with whatever SHA you want14:05
hollusion i see14:05
and keep ..HEAD at the end?14:05
jast yes14:05
hollusion like: 981bdf6cef9e57ae0904ecbad926f9784c59c726..HEAD14:05
osse that's up to you. You said from SHA to HEAD, so in that case the answer is ye14:06
ss14:06
agileadam joined14:06
hollusion alright, thank you both14:06
denete joined14:06
vtunka joined14:06
hollusion btw is HEAD^ == HEAD~1 ?14:07
s8321414 left14:07
Niharika joined14:08
listochkin joined14:08
osse yes14:08
Gizburdt left14:10
joo-_ left14:10
hollusion git log --author="Martin Krug" --pretty=' %s' --name-status 981bdf6cef9e57ae0904ecbad926f9784c59c726..HEAD | sed '/^$\|^ /d' | sort -u14:10
does not contain all files i have touched14:10
981bdf6cef9e57ae0904ecbad926f9784c59c726 is from Juli 15.14:11
and the return of the command above looks like my last commit14:11
did i do anything wrong here?14:11
osse not that I can see14:12
git log -- one/of/the/files/that/are/missing14:12
are any commits by you?14:12
AL13N_work joined14:12
hollusion of course some of those files were edited by others but that doesnt bother me14:12
joo-_ joined14:12
AL13N_work how can i do a git pull if i'm not inside the git directory?14:12
hollusion osse: there are lots of commits bewteen the SHA and HEAD by me14:12
osse AL13N_work: git -C path/to/directory pull14:12
hollusion: that was not my question14:13
AL13N_work aah, thx14:13
osse: does this also work on --bare ones?14:13
osse AL13N_work: no14:13
dialeth_ left14:14
AL13N_work hmm, didn't seem to work14:14
sarri left14:14
AL13N_work git doesn't know -C14:14
osse AL13N_work: git --git-dir=path/to/repo/.git --work-tree=path/to/repo pull14:14
hollusion osse: i get it now, my name somehow changed14:15
dsdeiz left14:15
enitiz joined14:15
EminenceHC joined14:15
hollusion how can i supply --author with multiple names?14:15
--author=('a'|'b') ?14:15
osse hollusion: --author=X --author=Y14:15
hollusion sweet, thank you so much14:15
is it possible to change the author of old commits?14:16
BtbN not without rewriting the entire history starting from that commit.14:16
osse hollusion: no, but you can create a file that maps new to old names so that the git log is consistent14:16
sarri joined14:16
atran joined14:16
bhuvanaurora joined14:17
tystr left14:17
jerius left14:17
mikecmpbll joined14:17
AL13N_work osse: why doesn't this work with --bare gits?14:18
kopparam joined14:18
tystr joined14:19
Pyrogerg joined14:19
osse AL13N_work: pull does a merge, merge needs files14:19
tier_ joined14:19
WORMSS AL13N_work: you could do a fetch14:19
bhuvanaurora left14:19
EminenceHC left14:20
crose joined14:21
MissionCritical left14:21
mikemont_ joined14:22
AL13N_work hmm, then i don't know if i'm doing this right... there's a git repository somewhere, and i need a git repository that receives the push's of our internal people, but regularly fetch from the upstream git too14:22
tier left14:22
AL13N_work normally our people work in new branches14:22
that don't exist in the upstream14:22
Jkerzz joined14:23
kopparam left14:23
alexKuleshov left14:23
e66 left14:23
Guest56598 left14:24
jast git --git-dir=... fetch; git --git-dir=... push . refs/remotes/origin/*:refs/heads/*14:24
arnaud___ joined14:24
BtbN Why not just cd there instead?14:24
jast sure, just remember to unset GIT_DIR if you're doing it in a hook14:25
e66 joined14:25
jast btw this will throw up if a fast-forward update doesn't succeed14:25
or use 'push -f' to simply throw away all changes that are in the way14:25
tmcmahon left14:26
LeMike joined14:26
philipd left14:27
Mission-Critical joined14:27
AL13N_work jast: why the push after the fetch?14:28
i was thinking of doing a crontab every minute to git fetch --all the bare repository14:28
jast fetch gets the updates from the remote. the push is used to 'push' locally, copying the remote-tracking branches from origin into the normal branches14:29
ManikM left14:29
arnaud___ left14:29
ManikM joined14:29
Pyrogerg_ joined14:29
Pyrogerg left14:29
AL13N_work oic, even if this is a --bare one?14:29
SumDude joined14:29
jast 'git push .' = "push" to the local repository14:29
yeah, push doesn't need a working tree14:29
osse jast: in that case you could change the refspec fetch uses, I think14:30
Neozonz joined14:30
philipd joined14:31
jast I'd rather not because that'd violate expectations14:31
osse whose?14:32
osheridan joined14:33
jast anyone else's who might ever need to work with the repo on the server14:33
MarkyC left14:34
Jkerzz Some$one here is & unity 3d programmer$ ?14:35
jast you ask that in a channel about git? that's fairly random...14:35
guy joined14:36
guy How to undo last commit message ? I have accidentally typed "commit -a -m "stupid message.""14:36
It was the last thing I did14:36
BtbN He asks that in litteraly all channels.14:36
Pyrogerg_ left14:36
Jkerzz left14:36
osse guy: git commit --amend -m 'new message'14:37
guy osse: awesome14:37
thank you14:37
was using wrong keywords for the search14:37
AL13N_work jast: fatal: '.' does not appear to be a git repository14:37
jast AL13N_work: oh, right, that'd only work if you're inside the repo. use the path to the repo instead.14:38
Vile left14:38
Mission-Critical left14:38
AL13N_work even though the git-dir was already passed?14:38
jast yes14:38
--git-dir is the source for the push, this is the destination14:38
Lewix joined14:39
King_Hual left14:39
chrisgeo joined14:40
subhojit777 joined14:40
Juzzika left14:41
osheridan Hello everyone :)14:42
Takle left14:43
AL13N_work so, if i get this right... git has normally 3 levels... and with --bare, it doesn't have the last level== working dir ?14:43
osheridan left14:43
normalra joined14:43
Takle joined14:43
Simplified joined14:44
Simplified ?14:44
Gamecubic joined14:45
iamjarvo left14:45
tvw left14:45
buffal0 joined14:45
guy osse: I just realised I lied. I need to actually get the last commit out of the history without affecting the current file system state. (because wrong files are under the message)14:45
normalra Hello! During the 'unpacking objects' phase, how much bandwidth is actually needed? Is it merely a consistency check or something else entirely?14:45
guy Is it git reset HEAD~ then?14:45
Simplified left14:46
osse guy: yes14:46
guy Cool. Thanks14:46
Niharika left14:46
Takle_ joined14:47
Gizburdt joined14:48
Pyrogerg joined14:49
crose left14:50
Takle left14:50
normalra_ joined14:51
WORMSS osse: commit-tree did not seem to make a commit, but given me a git object reference.. what do I do with that?14:51
osse WORMSS: then it created a commit14:51
WORMSS: git branch foo <that reference>14:52
now look at the log of that branch14:52
WORMSS ahh..14:52
AaronMT joined14:52
rob_w left14:54
enitiz left14:54
endiruna left14:54
WORMSS in that case, it worked..... On my test repo..14:54
normalra left14:55
guy left14:55
Gues480631 joined14:55
Malsasa joined14:56
crystal77 joined14:56
listochkin left14:56
WORMSS Is there a way to make that slightly easier?? If I was to manually set up my index, can I just make a commit but specify what parents I want? So rather than doing a merge it does a kind of "stratagy ours" but for my index, but then say parent 1 parent 2 parent 3 parent 4?14:57
wrouesnel left14:57
blackmesa left14:57
jast not really14:57
but write-tree + commit-tree isn't *that* much more complicated, is it? :)14:57
scriptThis left14:57
msmith joined14:58
msmith left14:58
msmith joined14:58
herdingcat joined14:58
osse WORMSS: i stand by my original suggestion. merge each branch the usual way first. then the tree/index stuff is already taken care of14:58
WORMSS It taken me a while to get the correct read-tree commands, because of all the options were never quite correct, I ended up manually changing my index14:59
osse the only thing you'd have to do than is take the current commit and rewrite its list of paremts14:59
LeMike left14:59
DeathIncarnate joined15:00
knobo left15:00
tranzfuse joined15:00
osse s:than:then:15:01
devoldmx33 joined15:02
Takle joined15:03
WORMSS How do you do that?15:03
listochkin joined15:03
osse WORMSS: still involves commit-tree15:03
but the treeish you need is just HEAD^{tree}15:04
WORMSS Yes, this sounds a much better way :D15:04
and remembering to set a branch to that new commit :D15:05
gain joined15:05
tranzfuse left15:05
palcu_ left15:05
gain hi all15:05
Errorical left15:05
gain I need to recover a file from an old commit... can I do that without cloning all in a temporary dir, checking out and coping from there?15:06
Prawnzy joined15:06
Takle_ left15:06
osse gain: git checkout oldcommit -- file15:07
wrouesnel joined15:07
z8z left15:07
vladgh left15:08
strictlyb joined15:08
clauswitt left15:09
dangerousdave left15:09
DolpheenDream left15:09
WORMSS ok, so, 1) master > new branch 'super merge', 2n), merge all the branches, 3) git commit-tree -p master -p a -p b -p c -p d -m "Super Merge" HEAD^{tree} 4) git branch master << what ever the sha is15:09
lindenle joined15:09
vladgh joined15:10
Pessimist joined15:10
gain osse: double dash? thanks a lot :D15:10
rath left15:10
Pessimist Given a commit id, how can I check in which tag it was first included or maybe a list of tags with that patch?15:10
skorgon joined15:10
skorgon left15:10
skorgon joined15:10
osse Pessimist: git tag --contains=id15:11
kadoban Pessimist: 'git describe' would be a possibility too.15:12
vtunka left15:12
Gues480631 left15:12
Pessimist Ok, thanks15:12
Solid1Solid1_afk15:12
nettoweb_ joined15:13
richardlitt joined15:13
mennea left15:13
lindenle left15:14
rivarun left15:15
LeMike joined15:15
HACKING-FACEBOOK joined15:15
chiemseesurfer_ left15:15
rivarun joined15:16
pheaver joined15:16
nettoweb left15:16
tranzfuse joined15:16
EminenceHC joined15:17
ruukasu left15:17
ruukasu joined15:18
dangerousdave joined15:20
mellernoia joined15:20
palcu joined15:20
subhojit777 left15:22
phantombeta joined15:22
EminenceHC left15:22
palcu left15:22
subhojit777 joined15:22
Pyrogerg left15:23
HACKING-FACEBOOK left15:23
ocharles_ left15:23
pmallya_ joined15:24
Takle left15:24
knownasilya joined15:24
guzzlefry joined15:24
davidreis joined15:24
HACKING-FACEBOOK joined15:24
Nimos joined15:24
roelmonnens left15:25
LeMike left15:25
roelmonnens joined15:25
ecky--ptang-zoob joined15:25
iamjarvo joined15:26
Nimos so I have kind of a basic question:15:26
I have two branches, one is the general branch that's just the basic software, the other has design customizations and user specific things15:27
usually I do new features on the main branch and merge into the custom branch15:27
iamjarvo left15:27
Nimos however, I accidentally developed a new feature on the other branch, how do I merge only that last commit into the main branch without getting all the other things?15:28
raatiniemi joined15:28
MissionCritical joined15:28
jast git cherry-pick15:28
msankhala joined15:28
MLM joined15:28
jast not technically a merge, but essentially copies the changes over15:29
msankhala left15:29
ajmichels joined15:29
Nimos thanks, that looks like what I need15:29
Takle joined15:29
otter768 joined15:29
fabiand joined15:30
fabiand hey15:30
can someone help me ..15:30
if a repo has no commits15:30
how is it called in that case?15:30
it's not "unitialized" because it has all the metatdata15:31
Remram "empty"?15:31
fabiand Remram, thanks15:31
That's what I'd call it ..15:31
Remram That's what "git clone" calls it15:31
"warning: You appear to have cloned an empty repository."15:31
;)15:32
fabiand :D15:32
tranzfuse left15:32
tranzfuse joined15:33
kukks joined15:33
pheaver left15:34
tvw joined15:34
moritzs left15:34
otter768 left15:34
cvanball left15:34
Trudko left15:35
dadada joined15:35
dadada hey15:35
gitinfo dadada: 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.15:35
tchan left15:35
chiromante left15:36
richardlitt left15:36
dadada what's the easiest way to switch back and forth between my local changes and the latest previous commit?15:36
SumDude left15:36
dadada without commiting it yet15:36
just wanna test if my changes made the code faster or not15:36
maestrojed joined15:36
joo-_ left15:36
palcu joined15:37
sinkensabe left15:37
AL13N_work jast: one more question15:38
kadoban dadada: 'git stash'15:38
Gues480631 joined15:39
palcu left15:40
ferri left15:40
Lewix left15:40
iamjarvo joined15:40
fabiand Remram, thanks once again ...15:41
AL13N_work i have a bare repos /git_public/foo.git and a 2nde bare /git_private/foo.git ; the private one has as remote the public one and the public one has as remote an upstream one. i added a branch (from a tag) in /git_public/foo.git and pushed the branch, i did the fetch and push thing on the private one and then a git pull on a working_tree for the private one, but i can't see the branch i created15:41
fabiand left15:41
HACKING-FACEBOOK left15:41
AL13N_work jast: so, in essense, i pushed a branch on /public/foo.git and did fetch+push on the /private/foo.git (from the public) and the branch isn't visible on the private one15:42
iamjarvo left15:42
jast what's the push command you used?15:42
Takle left15:43
a_le joined15:43
kadoban AL13N_work: In most circumstances, you need to manually create branches that track upstream ones if you want them. They're not created by default except one default branch when you clone.15:43
palcu_ joined15:43
nnyk left15:43
LucasTT left15:44
kadoban AL13N_work: So, 'git checkout -b whatever --track upstream/whatever' in the private one, or some shortcut of that. 'git checkout whatever' works if you just want it to be the same name and a branch with that name doesn't already exist.15:44
jave left15:44
Pyrogerg joined15:45
joeyDB joined15:45
t0th_-_ left15:45
AL13N_work well git branch -a didn't show it15:46
it should show the remote ones, don't it?15:46
jast: i used your script above15:46
SumDude joined15:46
kadoban AL13N_work: Try 'git fetch' first.15:46
jagob left15:47
deryni joined15:47
t0th_-_ joined15:47
AL13N_work hold on, i'm gonna make a sequence of commands used15:47
cyphase left15:47
dadada kadoban: ty15:49
psoo left15:49
psoo joined15:49
wrouesnel left15:50
mattl_mattl15:50
Takle joined15:50
normalra_ left15:51
dreiss joined15:51
mattlGuest9664115:51
WORMSS osse: I agree, doing all the merging before hand and doing git commit-tree after the fact, cutting out read-tree write-tree is FAR FAR easier.. :D Thank you for great leadership in this.. 1 question I have.. why do you need branchName^{tree} and not just branch name?15:51
t0th_-_ left15:51
ianbrandt joined15:51
Guest96641mattl_15:51
CheckDavid joined15:51
whomp joined15:52
FutureTense joined15:52
vurma left15:52
osse WORMSS: because commit-tree accepts only a tree, not a treeish15:52
FutureTense I'm coming from hg, and was wondering if there was a command line like "rosetta stone" that will show me the equivilant git command15:53
fanno joined15:53
FutureTense tired of having to go tot he webite eachtime15:53
roelmonn_ joined15:54
osse WORMSS: maybe it'll work without ^{tree} too. dunno15:54
joo-_ joined15:54
qsuscs FutureTense: http://mercurial.selenic.com/wiki/GitConcepts15:54
roelmonnens left15:54
AL13N_work jast & kadoban: http://pastebin.com/hZnf5THE15:54
osse it's not documented accordingly at least15:54
Solid1_afkSolid115:54
AL13N_work the git-private one has the git/foo.git as remote15:54
the last command lists the normal stuff, but not the new remote branch in the list15:54
the git pull says "everything up to date"15:55
Neozonz|Disc joined15:55
Neozonz|Disc left15:55
Neozonz|Disc joined15:55
wrouesnel3 joined15:55
AL13N_work what am i doing wrong?15:55
Neozonz left15:55
jagob joined15:56
AL13N_work refs/remotes/origin/*:refs/heads/* <--- is enough to include the branches, right?15:56
hanzswolfgang joined15:57
DeathIncarnate left15:58
hanzswolfgang Hi15:58
gitinfo hanzswolfgang: 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.15:58
hanzswolfgang I am looking for help with 'git svn clone'15:59
more specifically, cloning of non-standard tags.15:59
doev left15:59
segfalt joined16:00
hanzswolfgang I currently have tags/1.1/RC* in SVN and want to convert this to 1.1-RC* in git16:00
Can git svn clone do this?16:00
tchan joined16:00
roelmonn_ left16:01
devoldmx left16:01
roelmonnens joined16:01
FilipNortic left16:02
acolson left16:02
nastri joined16:02
endiruna joined16:02
KevinMGranger !tias16:02
gitinfo Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.16:02
Silmarilion left16:02
KevinMGranger I can't see why not, just be careful with quoting when referencing it16:03
t0th_-_ joined16:03
netcarver joined16:03
Malsasa_ joined16:04
Malsasa left16:05
jast AL13N_work: doesn't really look like the fetch did anything. this is probably because you didn't create a remote when cloning initially. you can do it now: git remote add origin <path or URL>16:05
pheaver joined16:05
osse heheheeheheheheh I thought I had discovered an interesting but in git-rebase -i where it would fail if the upstream was a merge commit or something like that. turns out I had a one-line post-checkout hook: 'false'16:05
s/but/bug/16:06
roelmonnens left16:06
jast such a nice hook16:06
skorgon left16:06
jast very inefficient, though... 'exec false' is much better16:06
KevinMGranger sure is a simple hook16:06
osse i should stop using my serious repos for senseless testing16:06
KevinMGranger jast: false should be a builtin if it's bash16:07
osse I also had a local log.usemailmap = false which I thought was a bug16:07
s00pcan joined16:07
kopparam joined16:07
jast bash shouldn't be used in production environments, so that doesn't matter ;)16:07
kadoban Heh16:07
KevinMGranger Oh c'mon, just because of shellshock?16:07
Haters16:07
DeathIncarnate joined16:08
jast yep16:08
KevinMGranger It's been fixed. It's fine16:08
s00pcan that's got to be a joke16:08
DrDaemonEye left16:08
jast I hear it even got fixed multiple times16:08
KevinMGranger That is an interesting attack vector though, a ref name that is a shellshock payload that gets run in a hook...16:09
baegle joined16:10
jave joined16:10
chrisshattuck joined16:10
ksjeong joined16:11
osse if "production environment" means "web server with CGI that runs shell scripts" then I agree16:11
kopparam left16:11
causasui left16:11
ksjeong left16:12
wrouesnel3 left16:12
steele joined16:12
Brain left16:13
Gizburdt left16:13
Milkweed joined16:13
Nimos left16:13
arnaud___ joined16:13
ruukasu left16:13
EminenceHC joined16:14
sebhoss left16:15
ruukasu joined16:16
lindenle joined16:16
thiago_ joined16:16
psoo left16:16
crose joined16:17
hanzswolfgang I have tried 'tags = Project/tags/*/*:refs/remote/tags/*' but this just gives me RC1,RC2,RC3,etc.16:18
osse KevinMGranger: a ref cannot contain the characters needed to create a shellshock env var16:18
AL13N_work jast: yes, i had remote in the private one: remote.origin.url=ssh://git@127.0.0.1/git/foo.git16:18
arnaud___ left16:19
AL13N_work maybe ssh isn't the best way for a remote branch when it's on the same machine...16:19
can i just use remote.origin.url=/git/foo.git ?16:19
KevinMGranger osse: good point16:20
AL13N_work jast: well, the private one is --bare cloned from the public one... so i'm pretty sure that worked16:20
i can see the other branches16:20
lindenle left16:20
mskaesz left16:21
ThomasLocke left16:21
iamjarvo joined16:21
Neozonz|Disc left16:21
iamjarvo left16:22
DeathIncarnate left16:22
Guest26361 joined16:22
AL13N_work jast: maybe the "fetch --all" isn't good16:23
vtunka joined16:23
LucasTT joined16:23
subhojit777 left16:24
devoldmx joined16:24
Guest26361 left16:24
Neozonz joined16:24
Neozonz left16:24
Neozonz joined16:24
Remram SSH on the local machine might actually make sense16:24
if you're using different users16:24
listochkin left16:24
netj left16:24
Remram and a special shell like gitolite16:25
sohail left16:25
netj joined16:25
Remram (although maybe gitolite does everything with hooks, I'm not sure)16:25
Neozonz left16:25
Neozonz joined16:25
Neozonz left16:25
Neozonz joined16:25
delboy1978uk left16:26
blackmesa joined16:26
subhojit777 joined16:27
ManikM left16:29
ManikM joined16:29
mgolawala joined16:29
dangerousdave left16:30
pheaver left16:30
jast AL13N_work: git clone --bare skips creating the remote config, AFAIK... simply adding the remote.origin.url option isn't enough, you'll need remote.origin.fetch, too16:30
AL13N_work is this better: "git --git-dir /git-private/foo.git fetch /git-private/foo.git refs/remotes/origin/*:refs/heads/*" ?16:31
jast 'git remote add' does both of those for you16:31
hm, yeah, that should work16:31
AL13N_work jast aaah16:31
jast saves you the push, too16:31
oh16:31
actually, not quite16:31
Noldorin joined16:32
AL13N_work beause i'm using fetch, i should need a different setting for the remote config, rather than pull?16:32
jast git --git-dir /git-private/foo.git fetch /git-public/foo.git refs/heads/*:refs/heads/*16:32
that does all of it at once16:32
and you won't need remote config16:32
tvw left16:33
AL13N_work ah, i need to put in the public one here16:33
ic16:33
maybe that's easyier16:33
i'll try16:33
JosephFerano joined16:33
jceb left16:33
listochkin joined16:34
shinnya joined16:34
Macaveli left16:34
Spacew00t joined16:34
eeeeeta left16:34
AL13N_work hmm, that didn't work16:34
eeeeeta joined16:35
hgl left16:35
hgl joined16:35
jast what happened?16:35
Imdsm joined16:36
ianbrandt left16:36
Aristata left16:37
King_Hual joined16:38
Imdsm I want a repo with let's say three remotes, origin and a and b16:39
how can I share those remotes?16:39
is there a way that this is done, or is it simply a design constraint?16:39
AL13N_work aha, i found it16:39
i had the remotes and heads reversed in fetch16:39
jast ^^16:39
xulef left16:39
osse Imdsm: what do you mean?16:39
Solid1Solid1_afk16:39
richardlitt joined16:40
Imdsm let me try and explain better, if a repository has two remotes, say origin and then heroku16:40
I want my CI server to clone that repo from origin and push to heroku16:40
StarManta joined16:40
Imdsm but if heroku is configured on my development machine, it's never pushed to origin16:40
so the CI server would never be able to see the remote 'heroku', correct?16:40
if so, what viable ways are there around this?16:41
alorence left16:41
adamben left16:41
fanno left16:41
grawity how are you configuring the CI server to know the password or SSH key for pushing?16:41
Imdsm for now, it simply has an SSH key16:42
Aristata joined16:42
Imdsm read/write16:42
ajmichels We have run into a weird issue where we have a tag that was made recently and the commit that it is pointed at doesn't seem to exist anymore. Almost like it got orphaned at some point and then GC'd. Anyone have any ideas?16:42
idoru left16:42
lb1a left16:43
grawity so if you could put a SSH key on it, and the post-build hooks for pushing, surely you can do a `git remote add` on that sever16:43
server*16:43
ajmichels: where do you see the tag if it's not attached to any commit?16:43
idoru joined16:43
kukks left16:43
Imdsm I could do git remote add, yes, though I was hoping that I wouldn't need to duplicate that setup, as then there will not only be the dev machine with the git remotes, but also the need to have a script that has the git remote add command sin it16:44
grawity ajmichels: do you know who pushed the tag? do other people have that commit in their own repos?16:44
Imdsm s/command sin/commands in16:44
mihaicris joined16:44
AL13N_work jast: so the real problem was just that the fetch was not set in the config for all gits16:44
grawity Imdsm: just make it run `git push [email@hidden.address] master` instead of `git push heroku master`, really16:44
AL13N_work once i got the fetch set up correctly i saw updates from upstream and my new branch :-)16:44
kpease joined16:44
Imdsm grawity: the problem is I only used heroku as an example, in fact it will be a deis cluster, with multiple applications16:45
I suppose this is no different than other config options. I think I know how to approach this16:45
Thanks for being a sounding board!16:45
arnaud___ joined16:46
IrishPrime joined16:46
ajmichels The same person who made the commit also created the tag16:47
We found the commit by running git show-ref --tags -s -d16:47
joo-_ left16:47
ajmichels I don't really understand the whole dereferencing stuff.16:47
WormDr1nk left16:47
cbr_ left16:49
martinvonz joined16:49
wolog joined16:49
grawity wait, wait, why exactly were you saying the commit doesn't exist?16:49
t0th_-_ left16:50
tyreld joined16:50
ajmichels We can't check it out and it doesn't show up in the log or reflog16:50
moritzs joined16:50
Noldorin left16:51
grawity and neither `git show <tagname>` nor `git show <commit-id>` works?16:51
ruukasu left16:51
thedodd joined16:52
ruukasu joined16:52
ajmichels Both of those commands return a different commit.16:54
ianbrandt joined16:54
ajmichels It happens to be the commit that the head is currently pointed at.16:54
agileadam left16:54
lindenle joined16:54
ajmichels but it is not the commit that the tag is assigned to16:55
marthinal left16:55
knobo joined16:56
knobo left16:56
grawity that sounds... odd.16:56
do `git rev-parse <tagname>`, `git rev-parse refs/tags/<tagname>`, `git show-ref`, etc. agree with each other?16:56
and with `grep <tagname> .git/packed-refs`?16:57
marthinal_ joined16:57
Noldorin joined16:58
hgl left16:58
hgl joined16:58
nnyk joined16:59
jargon left16:59
ajmichels The first three commads show the same sha associated with the tag, but it is not the saw that we end up on when we check out the tag.16:59
The grep returned nothing.17:00
bhuvanaurora joined17:00
grawity not packed then – kept in .git/refs/tags/<tagname>17:00
richardlitt left17:00
jnavila left17:01
ajmichels yes. that file exists17:01
grawity okay, and if you try to check out <tagname>, how do you determine what commit you end up on?17:01
StarManta left17:02
geekbri joined17:02
Remram ajmichels: wait, "git checkout <tagname>" doesn't work? What does it say?17:03
Marcus___ left17:03
hauron left17:03
moritzs left17:03
ajmichels When we run checkout the last thing git tells use is that the "HEAD is no on ... <commit-id>" and that commit-id doesn't match what we are seeing in rev-parse or show-ref17:03
faylite left17:03
ajmichels * now on17:03
Remram If you're just concerned that the SHA1 returned by "git rev-parse <tagname>" is not a commit, it's perfectly normal17:04
doev joined17:04
Remram the tag has a SHA1 of its own, and it's not a commit17:04
ajmichels Ok. So the tag will be ok.17:04
Remram "git rev-parse <tagname>^{commit}" should give you the rev17:04
hgl left17:04
grawity facepalms17:04
grawity how in the hell did I forget that.17:04
WORMSS left17:05
grawity too used to lightweight tags I guess17:05
hgl joined17:05
Remram grawity: do you use lightweight tags?17:05
ajmichels This all came up because we have a process which attempts to retrieve a list of tags that are currently associated with the HEAD.17:05
grawity sometimes17:05
ecky--ptang-zoob left17:05
Remram I only use annotated tags (most often, signed)17:05
but I don't know if there's a good reason to do that (or not)17:05
ecky--ptang-zoob joined17:06
Sasazuka joined17:06
ropav joined17:06
Remram ajmichels: git tag --points-at ?17:06
joelm_ left17:06
ajmichels that process greps over the `git show-ref --tags` looking for the HEAD commit sha17:07
joelm joined17:07
Novitsh_ left17:07
ojacobson joined17:07
Remram yeah that command will give you tag objects17:08
arnaud___ left17:08
dorkmafia joined17:08
corni joined17:09
corni left17:09
corni joined17:09
ajmichels haha. ok. yeah didn't even know about --points-at17:09
Remram haha github gets it: https://github.com/ViDA-NYU/reprozip/commit/f39f654d^{commit}17:09
ajmichels thanks guys17:09
hgl left17:09
Remram mystery solved!17:09
gain left17:10
richardlitt joined17:11
ajmichels sorry for burying the lead17:11
spyroboy left17:12
vtunka left17:12
blackmesa left17:12
MarkyC joined17:12
profil joined17:12
KONIG joined17:13
TomyWork left17:13
herdingcat left17:13
profil Hi guys. I am wondering if there is a way to create a branch with a different root directory than master? say I have an untracked folder build/ which I want to track as the root in another branch, is it possible?17:13
kadoban profil: A branch doesn't have a root directory. There are various ways to nest git repos with various semantics, like git submodule, git subtree, etc.17:15
ropav left17:15
ropav joined17:15
kadoban profil: Or you can just have another branch that only has the stuff in build, if you really want.17:16
profil kadoban: yes I thought about using subtree, but I dont want to track that directory in the master branch.. Can I use a submodule as a branch only?17:16
thiago_ profil: do you mean "create a branch with no parent"?17:16
profil: or do you mean "create a branch with no files in it"?17:16
profil: or both?17:16
profil thiago_: I want to create an orphan branch, which will have the files in build/ as in the root directory of that branch17:17
kadoban profil: That's not possible, the root directory part. Why would it matter though?17:17
thiago_ profil: git checkout --orphan newbranch; git rm -r everything-except-build; git mv build/* .17:17
gfixler left17:17
thiago_ if you're in zsh with extendedglob, the everything-except-build is *~build17:18
popl joined17:18
martinvonz left17:18
profil yeah, thats what I thought..17:18
GT4066 joined17:19
profil its kinda ugly though17:19
thiago_ profil: here's an uglier way:17:19
jheg left17:19
thiago_ profil: git checkout --orphan newbranch; mv .git build; cd build; git commit -m "build as root"; mv .git ..; git reset --hard17:20
a_le left17:20
Ankaan joined17:20
thiago_ with some git add -a that I forgot17:20
profil wow, is that valid? :D17:20
dfas left17:21
thiago_ moving the .git dir? sure17:21
endiruna left17:21
profil thiago_: but that wont work when build/ is regenerated by some scripts..17:21
thiago_ it's ugly as hell, but works17:21
EvilPenguin joined17:21
thiago_ are the scripts going to regenerate build during the process?17:21
kpease left17:22
profil the build/ folder will contain deployable files, which will be deployed by pushing the publish branch to a remote17:22
and master will contain the source files17:22
EvilPenguin left17:22
kpease joined17:22
thiago_ profil: I don't see how that is relevant. As long as nothing is trying to recreate the build dir relative to the repository root (which has just moved) during the commands I posted, it should work to do what you asked.17:23
profil so I want master and other feature branches to keep track of the source code, and the publish branch to keep track of the generated deployable files17:23
boombatower joined17:23
boombatower left17:23
boombatower joined17:23
profil thiago_: alright17:23
thiago_ ok, now we have some more info17:23
devoldmx left17:23
thiago_ how is the publish branch created?17:23
or updated, for that matter17:23
pmally___ joined17:24
nnyk left17:24
thiago_ my suggestion is to create a separate checkout of this repository (a clone or a new-workdir) and adapt your scripts to modify this other checkout instead17:24
EvilPenguin joined17:24
profil thiago_: thats what I am trying to figure out, I want to be able to run "git checkout publish ; git add . ; git commit -m ... ; git push server publish"17:25
thiago_ profil: how about: cd ../publish; git add .; git commit -m ...; git push server17:25
petersr joined17:26
dfas joined17:27
bb010g left17:27
nnyk joined17:27
petersr left17:27
pmallya_ left17:27
profil thiago_: it would be neat to have it as a subdir17:28
ehmatthes joined17:28
thiago_ profil: make it a submodule then17:28
profil: the submodule can be a different branch on the same repository17:28
in_deep_thought joined17:29
dorkmafia left17:29
aswen left17:29
pheaver joined17:30
otter768 joined17:30
profil thiago_: but that requires changes to the submodule to be tracked in master?17:30
a_le joined17:30
francisfish left17:32
liamkeily left17:32
doev left17:32
agileadam joined17:33
agileadam left17:33
bhuvanaurora left17:33
ehmatthes left17:33
bhuvanaurora joined17:34
mikecmpbll left17:34
Sijdesign joined17:34
arnaud___ joined17:35
otter768 left17:35
pmally___ left17:36
bhuvanaurora left17:36
thiago_ profil: add the subdir to .gitignore17:36
bhuvanaurora joined17:36
sinkensabe joined17:37
listochkin left17:37
m0viefreak joined17:37
dangerousdave joined17:40
sohail joined17:40
moritzs joined17:40
LeMike joined17:41
converge joined17:42
desposo joined17:42
leeN joined17:43
Malsasa_ left17:44
listochkin joined17:44
skylite_ joined17:44
skylite left17:44
skylite_ left17:45
ajmichels left17:45
skylite joined17:45
Vile joined17:46
converge left17:46
profil thiago_: I went with the first approach, doing `cp -rv build/* .` and then adding and committing17:48
Gizburdt joined17:48
profil thiago_, kadoban: thanks for your help guys :)17:48
freimatz left17:48
akushner joined17:48
mikemont_ left17:48
Shusshu joined17:48
DeathIncarnate joined17:48
Shusshu left17:49
dangerousdave left17:49
m0viefreak left17:50
nastri left17:50
hahuang61 left17:50
martinklepsch left17:50
sohail left17:50
dm7freek joined17:50
darnir left17:51
causasui joined17:51
niro left17:51
florianb joined17:51
florianb left17:51
encod3 left17:52
dorkmafia joined17:52
dm7freek True story: I have a local git repo... I copied that repo onto a flash drive. I worked on the flash drive, and I worked on the original. How do I merge them?17:52
iamjarvo joined17:52
marthinal_marthinal17:52
kadoban dm7freek: Add one as a remote of the other, fetch it in, and do something with the result, merge/rebase/whatever.17:53
dm7freek kadoban: how do I add one as the other's remote?17:53
morb joined17:53
kadoban dm7freek: 'git remote add flashdrive /some/path/or/whatever/'17:54
dm7freek kadoban: thanks ill give that a try17:54
nnyk left17:54
kadoban dm7freek: After you 'git fetch', check !lol or 'gitk --all' to see what's what, and then you can go from there merging or whatever.17:55
gitinfo dm7freek: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all17:55
ropav left17:55
nettoweb_ left17:56
dpio left17:56
kopparam joined17:56
dm7freek cool17:56
xcesariox joined17:56
mtahmed joined17:56
iamjarvo left17:57
atran left17:59
barduck left17:59
iamjarvo joined17:59
safinaskar joined17:59
iamjarvo left17:59
Neozonz|Disc joined18:00
Neozonz|Disc left18:00
Neozonz|Disc joined18:00
Neozonz left18:00
kopparam left18:00
nour joined18:02
thiago_ left18:02
alexwhitman left18:02
m0viefreak joined18:02
dm7freek kadoban: I went to the flash drive and added the original as remote 'og'. I git fetched, and now I'm trying to git merge og, but I get "not something we can merge"18:03
licnep joined18:03
dm7freek Does remote basically attach a remote branch?18:03
profil left18:03
dm7freek kadoban: This is prob a rookie mistake, i know :/18:04
kyb3r_ joined18:04
paul424 left18:05
govg joined18:05
kadoban dm7freek: A remote isn't a branch. A remote usually has branches. Take a look at 'gitk --all' and see if it makes more sense. If it's still not clear, you should really read a tutorial about this. It's rather subtle, and it will make a ton more sense.18:05
kpease_ joined18:05
govgGuest1796218:05
Guest17962 left18:05
mtahmed I tried googling for a release process that uses git but I am unable to find anything that suits my needs. What I want to be able to do is after I make a release, I want to be able to tell which features/bug fixes are in that release. Currently I use svn for that because it gives me a unique commit id for each feature/bug fix.18:05
a_le left18:06
mtahmed But commit hashes change and therefore are not a dependable alternative to svn commit ids.18:06
dm7freek kadoban: I just got gitk --all, that's slick. An I figured out the issues, i needed og/master not og18:06
kadoban dm7freek: Right, that sounds correct18:06
dm7freek kadoban: thanks18:06
kadoban 'welcome18:06
m0viefreak left18:06
m0viefreak joined18:07
dm7freek mtahmed: tags stay with commits even if the has changes i think18:07
kadoban mtahmed: git commit hashes are immutable unless you do evil things that you shouldn't do.18:07
dm7freek hash*18:07
dreiss left18:07
St1gma left18:08
qsuscs mtahmed: man git tag the release, then e.g. git log --oneline v1.2..v1.318:08
gitinfo mtahmed: the git-tag manpage is available at http://jk.gs/git-tag.html18:08
St1gma joined18:08
qsuscs and commit hashes change less than SVN revnos18:08
kpease left18:08
DeathIncarnate left18:08
m8 joined18:08
richardlitt left18:09
dreiss joined18:09
mtahmed kadoban: E.g. if I cherry-pick the commits into branches, the two cherry-picked commits will have different hashes, no.18:09
*?18:09
diegoviola joined18:10
mtahmed dm7freek: qsuscs: I will look into git tags.18:10
qsuscs mtahmed: yes, cherrypicking changes the commit hashes18:10
kadoban mtahmed: Yes, but you shouldn't do that if you've already published that history, or if you've already tagged it, so I'm not sure how that affects what you want to do.18:10
qsuscs but this is i think something SVN doesn’t even support18:10
richardlitt joined18:10
Ankaan left18:11
pheaver left18:11
DevAntoine left18:11
durre joined18:11
qsuscs ok, you can do e.g. `svn sw "^/branches/1.4"; svn diff -c 1337 "^/trunk" | svn patch`, but this will get you a new revision number as well18:11
steele left18:12
steele_ joined18:12
mtahmed qsuscs: Should I be tagging every single commit? What I want to do is have a develop branch and have release branches branched off of develop. But sometimes I want to merge bug fixes back into old releases ... I use cherry-picking for that ... but that changes commit hashes ... so there is no way for me to tell what is and isn't in a given release.18:12
sohail joined18:13
antoks joined18:13
qsuscs mtahmed: no, you should tag releases. then you do a log between them and get all the commits between the two releases18:14
Skapadapaduu joined18:14
qsuscs this looks e.g. like this: http://pastie.org/private/dpi9ieq54wucff84qxjua18:15
licnep guys, i started a project and i'm pushing my local code to github and then pulling from my live server, but how can i push the code directly to the server instead?18:15
i tried setting the server as a remote and pushing to it, but it gives me an error18:15
qsuscs licnep: !deploy18:15
gitinfo licnep: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html18:15
grawity also !bare18:15
gitinfo an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/18:15
qsuscs licnep: ^ (bare vs. non-bare)18:15
licnep thanks ill take a look at that18:16
yea apparently the server repo has to be bare for some reason18:16
listochkin left18:16
listochkin joined18:16
EminenceHC left18:16
licnep mm, that could be annoying if i want to change some config file on the server only though..18:17
jonatasnona joined18:17
EminenceHC joined18:17
licnep ill have to think about that18:17
vital left18:17
kpease_kpease18:17
kpeasekpease_18:18
blorbx joined18:18
mtahmed qsuscs: But if I have a releases 1.4 and 2.5. I want to be able to find out if a certain bug fix is in an of the 1.x releases. So I do a git log between e.g. 0.9 and 1.4 and manually search for the commit? What if it has 100s of commits?18:18
I guess free text search would be okay.18:18
t0th_-_ joined18:18
vital joined18:18
mennea joined18:19
kadoban mtahmed: There's automatic ways, like 'git tag --contains' and some flags to 'git describe'18:19
belak left18:19
Sadi joined18:19
belak joined18:19
belak left18:19
belak joined18:19
qsuscs mtahmed: git log --oneline | grep "bugfix description" for a cheap solution, but yes, there are gitish ways18:19
listochkin left18:21
flaguy48 left18:21
LeMike left18:22
bitkiller joined18:22
DolpheenDream joined18:22
qsuscs how does junio do this? putting every bugfix in a feature branch and merging that one to maint-$VERSION and master?18:22
devoldmx joined18:22
teran_ left18:23
marthinal left18:23
Sijdesign left18:23
jb55 joined18:23
jb55 left18:24
tranzfuse left18:24
jb55 joined18:24
tranzfuse joined18:24
pheaver joined18:25
eletuchy joined18:25
marthinal joined18:27
dangerousdave joined18:27
LeMike joined18:28
hahuang61 joined18:28
marcogmonteiro left18:28
Eugene bites HedgeMage18:28
paulweb515 left18:29
ManikM left18:29
ManikM joined18:29
qsuscs throws a bone to Eugene, so that he has something to bite18:29
listochkin joined18:30
morb left18:30
Eugene qsuscs - Im guessing it involves either octomerges or cherries, but youcan just clone it and find out ;-)18:30
michelangelo joined18:31
qsuscs yes, but it’s so … overwhelming.18:31
mtahmed kadoban: `git tag --contains` wouldn't work if the commits are cherry-picked, right?18:32
davidreis left18:32
Eugene Is that a normal apostrophe or is my Unicode buggered on this device?18:32
Or maybe yours18:32
kadoban Looks like a backtick18:33
```'''18:33
ruukasu left18:33
Gizburdt left18:33
Gizburdt joined18:33
sinequanon joined18:33
kadoban mtahmed: I don't think it would work correctly, no. There are ways to have a workflow like that that doesn't require cherry-picking, of course.18:33
Akagi201 left18:34
qsuscs Eugene, kadoban: yes, perhaps, no, no—http://www.fileformat.info/info/unicode/char/2019/index.htm18:34
mtahmed kadoban: Could you point me towards such workflows?18:34
donmichelangelo left18:34
pheaver left18:34
Eugene I get an accented a, euro symbol, and a superscript TM from qsus. kado's is three backticks(by the tilde) and three single apostrophes18:34
subhojit777 left18:34
mtahmed kadoban: What I would like to have is to be able to include *new* commits into older release branches (e.g. security bug fixes etc.)18:34
Eugene I hate unicode18:34
kadoban Ah maybe it's different then, I just went by looks, heh.18:34
qsuscs unicode > *18:35
<insert random english-speaking countries rant from the perspective of a european here>18:35
kadoban mtahmed: Hmm, well that exact thing, I'm not sure a workflow that would help exactly...18:35
qsuscs so you interpret my righteous UTF-8 as some variant of ISO 885918:35
thiago joined18:36
phantombeta left18:36
dangerousdave left18:36
Akagi201 joined18:36
sorenb joined18:37
ruukasu joined18:37
Eugene Correction: I hate dealing wit Unicode points. I think its a great idea, but I dislike interacting with anything outside of ASCII18:37
quetz joined18:37
kadoban I mostly just make sure everything I can is using utf-8, and otherwise ignore it completely.18:37
e66 left18:37
levifig left18:37
qsuscs i’m completely used to using typographically correct apostrophes and quotation marks18:37
in fact, i find it easier to type ’ instead of ' on my de-latin1 keyboard18:38
ojacobson “they're not that hard to type” -qsuscs18:38
qsuscs ojacobson: indeed.18:38
together with my beloved compose key, i get along with most european languages18:38
Eugene I choose "UTF8, no BOM" as my text editor default and call it a day18:38
sinequanon left18:38
qsuscs a pity i don’t have any french and spanish anymore in school.18:39
durre left18:40
encod3 joined18:40
durre joined18:40
DeathIncarnate joined18:40
Marcus_ joined18:40
Remram but you don't do uppercase?18:41
levifig joined18:41
qsuscs « surtout en français, il faut utiliser des symboles speciaux souvent, ou des lettres qui n’apparaissent pas en allemand ou anglais, pour exemple ‹ œ ›, ‹ ç ›, et cetera. »18:42
Remram: in IRC, mostly not.18:42
Gamecubic left18:42
Remram I can't type œ on my keyboard18:43
:(18:43
Gamecubic joined18:43
Remram now I'm sad.18:43
qsuscs Remram: compose o e18:43
pmallya joined18:43
Remram I don't have a compose key18:43
mattl_mattl18:43
qsuscs but you might have a useless flag key between ctrl and alt18:43
Remram also, it's "par exemple"18:43
mattl left18:44
mattl joined18:44
qsuscs … as i said, no french lessons for over a year.18:44
phantombeta joined18:44
Remram that's pretty good for a year18:44
qsuscs (and it’s “for example” in english, which translates to that, and “por ejemplo” in spanish, which sounds alike)18:45
causasui left18:45
causasui joined18:45
Remram I don't understand why people learn French at all. I mean, it's all kinds of silly18:45
qsuscs if you were to choose between latin and french …18:46
diegoaguilar left18:46
Hipska left18:46
qsuscs i mean, latin really looks nice, and i would love to learn it. but it’s a dead language.18:46
and i get the etymology of romanian words with french, spanish and english as well, i’m good at german grammar (which is said to be the same as the latin one), and i love to speak, so again, why learn latin?18:47
Remram well, if it's between Latin and French, I get it18:47
but French and Spanish, or German, or Arabic18:48
mennea left18:48
mennea joined18:49
qsuscs at my school, you have english from year 5 on (when you enter the school), then you choose between french and latin for year 6 and between music, spanish and “natural science and technology” for year 818:49
pmallya left18:49
govg_ joined18:49
qsuscs and for the last two final years, you choose all over again. you can’t take $LANGUAGE if you never had it before, but you can drop all but one languages again (like me)18:50
Remram well that's super-weird18:50
qsuscs welcome to german schools.18:50
pheaver joined18:50
pmallya joined18:50
qsuscs *schools of baden-wurttemberg. in the other federal states, it’s different again.18:50
aynik left18:51
qsuscs oh and that choices are just for my school, there are also schools that teach french as first foreign language, or offer italian, russian, chinese (in fact, the best chinese speaker of the world comes from a city of this region)18:51
mennea_ joined18:52
Takle left18:52
kadoban "Best chinese speaker"...did they have a tournament?18:53
Takle joined18:53
qsuscs yes18:53
let me see whether i find the newspaper report18:53
normalra joined18:53
hgl joined18:53
palcu_ left18:53
richardlitt left18:53
blackmesa joined18:54
qsuscs that’s from our local newspaper, maybe i find something international … skol.de/;art417921,742187918:54
jwpeddle joined18:54
qsuscs http://skol.de/;art417921,742187918:54
kyb3r_ left18:54
ojacobson left18:54
mennea left18:54
Neozonz|Disc left18:54
kadoban Heh, cool. I used machine translation and got the gist18:55
flaguy48 joined18:55
flaguy48 left18:55
jonatasnona left18:55
ra0 joined18:56
qsuscs oh to heaven with google, why can’t i search for english stuff <_<18:56
LeMike1 joined18:56
flaguy48 joined18:56
flaguy48 left18:56
LeMike left18:57
Remram I should have learned more languages18:57
phanimahesh joined18:57
flaguy48 joined18:57
jeffmjack joined18:57
Remram I could never be bothered with Spanish18:57
flaguy48 left18:57
FutureTense I'm desperate to try and remove some commits on my local and origin repositories. Here is a picture http://imagebin.ca/v/1iUDAVTtAXy218:57
Remram and I really could have found the time to learn more18:57
FutureTense Im trying to remove "cca9" and all of its descendants from my local and origin18:58
hgl left18:58
PCatinean left18:58
qsuscs FutureTense: this will !rewrite18:58
gitinfo FutureTense: Rewriting public history is not recommended. Everyone who has pulled the old history have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push -f <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum18:58
FutureTense no one has pulled it18:58
Remram FutureTense: this doesn't make sense. "Its decendents"?18:58
diegovio1 joined18:58
moritzs left18:58
FutureTense all of the changesets after it18:58
Remram descendants*18:58
flaguy48 joined18:58
FutureTense the purple and yellow paths18:58
Remram well that's not how Git works18:58
flaguy48 left18:59
Remram a branch is just a pointer to somewhere in the tree18:59
move that pointer and the commits become "unreachable"18:59
so, you want to move gh-pages and HEAD to 4a85c13?18:59
qsuscs FutureTense: git reset --hard cca9f56^ (note the caret!) (while you’re on that branch)18:59
desposo left18:59
flaguy48 joined18:59
flaguy48 left18:59
KevinMGranger left18:59
antoks left18:59
FutureTense qsuscs: so by that picture, im on "foobar"19:00
flaguy48 joined19:00
baweaver joined19:00
diegoviola left19:00
flaguy48 left19:00
FutureTense should I checkout to cca9f first?19:00
qsuscs FutureTense: no. checkout the branch you want to move19:00
Remram (gh-pages, probably)19:01
flaguy48 joined19:01
flaguy48 left19:01
tesaf joined19:01
flaguy48 joined19:02
desposo joined19:02
qsuscs FutureTense: didn’t you come from mercurial?19:02
FutureTense ok, tht did it19:02
yes, I did19:02
Nijikokun joined19:03
FutureTense But I forgot what I learned with git19:03
ok, so its gone from my local19:03
qsuscs FutureTense: remember: git branches == mercurial bookmarks. mercurial branches don’t exist in git19:03
teran joined19:03
SumDude left19:03
FutureTense so how can I push that "strip" (to use the hg vernacular) to my origin?19:03
palcu joined19:03
FutureTense i never used bookmarks in Hg19:04
qsuscs FutureTense: push -f19:04
teran left19:04
bhuvanaurora left19:04
sinequanon joined19:04
teran joined19:04
xcesariox left19:04
diegovio1diegoviola19:05
palcu_ joined19:05
MarkyC_ joined19:05
FutureTense ok, that was easy.. now I want to get rid of the "foobar" branch19:05
or basically rename it to gh-pages19:05
Neozonz joined19:05
Neozonz left19:05
Neozonz joined19:05
paulweb515 joined19:06
FutureTense so I "git checkout foobar"19:06
robbyoconnor left19:06
palcu_ left19:06
qsuscs FutureTense: git checkout gh-pages; git merge foobar; git branch -d foobar19:07
Takle left19:07
qsuscs FutureTense: this will be a fast-forward merge, and branch -d will only delete if the branch is merged19:07
MarkyC left19:07
encod3 left19:07
MarkyC_MarkyC19:07
FutureTense heres what it looks like now19:07
http://imagebin.ca/v/1iUGT0ej8amF19:07
Remram yep. Looks good. What he said.19:08
sMa_ joined19:08
qsuscs 20:07 <+qsuscs> FutureTense: git checkout gh-pages; git merge foobar; git branch -d foobar19:08
palcu left19:08
FutureTense I guess the merge concept is different in git too.19:08
Remram not a whole lot19:08
qsuscs not necessarily19:09
phantombeta left19:09
qsuscs but i’m not sure about the behaviour of hg merge in this case19:09
hexagoxel left19:10
dm7freek left19:10
listochkin left19:10
veebers joined19:10
jason237 left19:10
FutureTense that did it (thank you). It's just a little weird for me because it looks like the merge compressed two diffs19:10
martinklepsch joined19:10
Neozonz left19:10
listochkin joined19:10
Zupoman joined19:11
qsuscs hmm, okay.19:11
in this case, git merge == hg update19:11
ruukasu left19:11
Takle joined19:11
FutureTense yes, thats what seems strange to me19:11
qsuscs mercurial is like a toolbox, where git is some different swiss army knives19:12
alekks joined19:12
tristanp left19:12
tobiasvl git and hg have some similar concepts and some unique ones, but the main hard part is the nomenclature19:12
qsuscs see e.g. http://stevelosh.com/blog/2010/01/the-real-difference-between-mercurial-and-git/19:12
tobiasvl merges and branches are common names but mean different things, for example19:13
King_Hual left19:13
ojacobson joined19:13
KevinMGranger joined19:13
King_Hual joined19:13
LeMike1 left19:15
qsuscs yeah coming from mercurial probably involves some !unlearn19:15
gitinfo Users of centralized VCSes will need to unlearn a number of habits in order to learn git. Many commands, such as "checkout" and "revert" bear little in common to those holding the same name in other systems.19:15
qsuscs but it’s not as bad as coming from SVN19:15
listochkin left19:15
ruukasu joined19:16
St_Marx_ left19:16
phantombeta joined19:16
SumDude joined19:16
Sadi left19:17
crose left19:18
St_Marx joined19:18
baweaver left19:20
Remram Git was meant to be a framework at first19:20
not the actual vcs19:20
okanck left19:21
cagedwisdom joined19:21
listochkin joined19:21
Neozonz joined19:21
Neozonz left19:21
Neozonz joined19:21
mennea_ left19:22
Aristata left19:22
awkwardusername left19:22
tureba left19:22
mennea joined19:23
awkwardusername joined19:23
Eugene Glad to see that factoid gets use.19:23
ojacobson left19:23
Remram well the more you use Git the more it shows19:23
pantsman- joined19:23
ats joined19:24
ats left19:24
govg_ left19:24
samskiter joined19:25
israelpattison left19:25
cvanball joined19:25
israelpattison joined19:25
cvanball left19:25
sinequanon left19:25
Takle left19:26
samskiter I’ve merged a branch into mine that had several conflicts. to do this i merged several commits on at a time. how can i squash this to make it look like i just merged the tip of the desired branch19:26
Neozonz left19:26
dangerousdave joined19:26
dangerousdave left19:27
angelsl left19:27
jiangenj left19:28
Xiti joined19:28
tureba joined19:28
richardlitt joined19:28
huglester_ joined19:28
Takle joined19:29
huglester left19:30
samskiter I’ve merged a branch into mine that had several conflicts. to do this more easily i merged several commits from the desired branch one at a time. how can i squash this to make it look like i just merged the tip of the desired branch. (appologies for repost - clarifying)19:30
kballou joined19:31
otter768 joined19:31
Takle left19:32
MLM left19:33
punchaga` joined19:33
punchagan left19:33
punchaga` left19:34
punchaga` joined19:34
punchaga`punchagan19:34
ecky--ptang-zoob left19:34
ecky--ptang-zoob joined19:34
baweaver joined19:35
DeathIncarnate left19:35
otter768 left19:36
aard_ joined19:36
ruukasu left19:37
ruukasuu joined19:37
kukks joined19:37
basiclaser_ joined19:38
baconbeckons joined19:38
settermjd joined19:39
ra0 left19:40
Takle joined19:40
marioxcc joined19:40
baconbeckons we’re using the git flow model and want to start using continious deployment. how can we always pull the latest release/x.x.x branch? what do we do after the release has been finished and merged into master and develop?19:40
marioxcc Hello19:41
hexagoxel joined19:41
marioxcc How can I do git checkout (in non-HEAD altering mode) for a whole directory?19:41
samskiter baconbeckons: alot of CI systems allow pattern matchin for brances19:41
matching* branches*19:41
ra0 joined19:42
baconbeckons samskiter: i was originally thinking of using webhooks. is there a way to make that work?19:42
basiclaser_ hey guys are there any examples of websites that you cannot make more than one account with ?19:42
tristanp joined19:42
pullphinger joined19:42
Neozonz joined19:43
Neozonz left19:43
Neozonz joined19:43
samskiter baconbeckons: webhooks are a git hosting feature rather than a git feature right? but it might be possible19:43
tobiasvl basiclaser_: facebook maybe? and several chess sites I know of (so you can't inflate your rating)19:43
sq-one joined19:44
kopparam joined19:45
iamjarvo joined19:45
baconbeckons samskiter: that’s a good point… i was originally thinking that i would trigger the webhook and then just have our qa server pull in the latest release branch if one existed. if i did it this way, is there a git command that i can use that will do patern matching for us? `git checkout <some_magic_command>`19:46
Seveas marioxcc: git checkout ref -- directory19:46
DeathIncarnate joined19:46
WaReZ joined19:46
samskiter baconbeckons: i mean that CI servers such as Teamcity already have their own pattern matching systems19:46
but no, you can’t checkout like that19:47
you could fetch then parse the branches19:47
baconbeckons samskiter: i got that part, i was just trying to avoid using the CI server :)19:47
marioxcc Seveas: ok, thanks.19:47
marioxcc left19:47
samskiter if you want to write a script, then just fetch, parse the branches then checkout?19:47
iamjarvo left19:48
Takle left19:48
basiclaser_ tobiasvl: i know people with multiple facebook accounts, any links to those chess sites?19:48
Takle joined19:48
Seveas basiclaser_: there's no foolproof way to prevent people from making multiple accounts.19:49
mtahmed left19:49
sinkensabe left19:49
kopparam left19:49
baconbeckons left19:49
revolve left19:49
baconbeckons joined19:49
tristanp left19:49
dsdeiz joined19:49
crystal77 left19:49
tobiasvl basiclaser_: sure, no website can PREVENT you from doing it, but I think it's against Facebook's TOS19:50
basiclaser_: chess.com for example, and lichess.org19:50
what are you really after?19:50
Spacew00t left19:51
HerrK joined19:51
SonikBoom joined19:51
mennea left19:52
mennea joined19:53
Pessimist left19:53
Dquernoti left19:54
dreiss left19:54
safinaskar left19:54
phantombeta left19:55
baweaver left19:58
vurma joined19:58
richardlitt left19:59
Takle left19:59
TomyLobo joined19:59
t0th_-_ left19:59
raatiniemi left19:59
Gamecubic left19:59
diegoviola left20:00
basiclaser_ tobiasvl: Looking to make a web service where each human can only make one account..20:00
phantombeta joined20:00
Takle joined20:00
howitdo left20:01
martinklepsch left20:03
nettoweb joined20:03
tvw joined20:05
pheaver left20:06
BSaboia left20:06
ensirius left20:06
ensirius joined20:07
michael_mbp left20:08
folken left20:08
martinklepsch joined20:09
michael_mbp joined20:09
dorkmafia left20:10
folken joined20:10
phantombeta left20:10
baegle left20:10
phantombeta joined20:10
KevinMGranger left20:10
zumba_addict left20:11
zumba_addict joined20:12
zumba_ad_ joined20:12
dorkmafia joined20:13
dpio joined20:13
EminenceHC left20:13
Sasazuka left20:13
ruukasuu left20:14
sinkensabe joined20:14
Gamecubic joined20:15
francisfish joined20:15
zumba_addict left20:16
kpease_kpease20:16
Solid1_afkSolid120:17
marioxcc joined20:17
qsuscs baconbeckons: !deploy20:17
gitinfo baconbeckons: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html20:17
marioxcc Hello. How can I convert output of "git diff" so that it's identical to the output that GNU diff would have if one version is in directory "a" and another is in directory "b"?20:18
Solid1 left20:18
qsuscs maybe something like git reset --hard $(git branch -a | grep release | sort | tail -n 1) … roughly …20:18
Solid1 joined20:18
thedudez0r joined20:18
Aikar joined20:18
Aikar Is there a git svn equiv for svn status --verbose that lists every file in the checkout with its revision info?20:19
derekm00re joined20:20
gitinfo set mode: +v20:20
NoNMaDDeN left20:21
derekm00re with git-diff (or 'git stash show -p') is there a way to suppress the diff index header? ... or ... with git-apply, is there a way to apply a patch to the filesystem object without taking a fresh copy of that object from the index?20:21
in_deep_thought left20:22
samskiter left20:22
howitdo joined20:22
mennea left20:22
qsuscs derekm00re: patch(1) probably.20:22
Dottimolly joined20:22
derekm00re i could just do "git stash show -p | patch -p1 && git stash drop -q"20:22
mennea joined20:23
derekm00re but I wanted to use git-apply (because I'm in Perl and Git.pm is handy like that)20:23
but I can go the patch route20:23
thanks20:23
jonatasnona joined20:24
KevinMGranger joined20:24
sinequanon joined20:26
biax joined20:27
mihaicris left20:27
biax hi. im new to git. trying to bisect. upon 'good' it complains to commit/stash changes. i have edited some config files that i wish to keep, how do i retain these modified config files that should remain the same across all revisions?20:28
ManikM left20:29
ianbrandt left20:29
ManikM joined20:29
EminenceHC joined20:30
whomp left20:31
sinequanon left20:31
diegoviola joined20:31
kukks left20:32
rpg joined20:32
ianbrandt joined20:32
chrisshattuck left20:32
Takle_ joined20:33
Takle left20:33
EminenceHC left20:34
aswen joined20:35
dsdeiz left20:35
jason237 joined20:35
carlosr joined20:36
IrishPrime left20:36
_ikke_ biax: In general, don't track config files20:37
tranzfus_ joined20:38
_ikke_ You can use git stash to cary those changes over in the mean time20:38
derekm00re put configs in a submodules?20:38
Gizburdt left20:39
sinkensabe left20:39
_ikke_ No, doesn't really make sense20:39
nnyk joined20:39
paul424 joined20:39
francisfish left20:39
tranzfus_ left20:40
tranzfus_ joined20:41
punchagan left20:41
hgl joined20:42
tranzfuse left20:42
pheaver joined20:42
Droolio left20:42
ianbrandt left20:42
kpeasekpease_20:45
encod3 joined20:45
madewokherd joined20:46
encod3 left20:46
hollusion left20:46
hgl left20:47
thedodd left20:47
Macaveli joined20:50
joeyDB left20:50
jheg joined20:51
Gues480631 left20:51
Juxtapositional joined20:51
Gues480631 joined20:51
biax hm not sure how to do that20:52
mennea left20:52
mennea joined20:53
biax to be exact, the configuration for ipxe are in h files such as config.h settings.h, etc20:53
aswen left20:54
crose joined20:55
Gues480631 left20:55
Gues480631 joined20:55
eletuchy_ joined20:57
githogori joined20:57
tpollard joined20:57
baconbeckons left20:58
whomp joined20:58
phanimahesh left21:00
geekbri left21:00
eletuchy left21:00
thedodd joined21:00
kriks left21:01
MarkyC left21:01
MattMaker joined21:01
duderonomy joined21:01
duderonomy left21:01
githogori left21:01
duderonomy joined21:02
MLM joined21:02
vurma left21:02
JosephFerano left21:02
MarkyC joined21:02
devoldmx left21:03
Aikar left21:05
sinequanon joined21:05
ianbrandt joined21:06
EminenceHC joined21:07
marthinal left21:07
Takle joined21:07
Takle_ left21:07
helgikrs left21:08
astrofog left21:09
D-Boy left21:09
derekm00re PS: Do not create a branch called "stash" if you are going to do a bunch of experiments with git-stash/git-apply/patch, or very weird things will happen.21:09
kukks joined21:09
kukks left21:09
kukks joined21:09
jheg left21:10
joo-_ joined21:11
polyzenbender21:11
aard_ left21:12
jheg joined21:12
baweaver joined21:12
quetz left21:15
Takle left21:16
kballou left21:16
Takle joined21:16
tristanp joined21:16
s00pcan left21:17
Sasazuka joined21:17
sq-one left21:19
Takle_ joined21:19
Neozonz|Disc joined21:20
Neozonz|Disc left21:20
Neozonz|Disc joined21:20
ianbrandt left21:20
D-Boy joined21:21
Neozonz left21:21
awkwardusername left21:22
Neozonz|Disc2 joined21:22
mennea left21:22
kqr left21:22
licnep left21:23
Takle left21:23
mennea joined21:23
benderpoly21:23
polypolyzen21:23
s00pcan joined21:23
polyzenbender21:24
ianbrandt joined21:24
crose left21:25
Neozonz|Disc left21:25
cardguy1000 joined21:26
jds left21:26
ecky--ptang-zoob left21:27
MarkyC left21:28
Neozonz|Disc joined21:29
Neozonz|Disc left21:29
Neozonz|Disc joined21:29
cardguy1000 Just wondering what organization structure others are using, if building a website and need an opensource project like jquery. Do you have a folder called github or something and clone the different projects you need into this directory or do you just download the css js etc and put them in your own spots?21:29
Internet13 left21:30
cardguy1000 I know you can just use the CDN for something like jquery....but other projects may not be on CDN21:31
Steve_Jobs left21:31
jheg left21:31
jheg joined21:32
otter768 joined21:32
Neozonz|Disc2 left21:32
Steve_Jobs joined21:33
kopparam joined21:33
thedodd left21:33
Neozonz|Disc2 joined21:34
moritz cardguy1000: some projects, like OTRS, simply copy the js files into a 3rdparty/ folder in their git repo, and update from time to time21:35
ianbrandt left21:35
derekm00re lots of people copy dependencies because it always sucks when someone else causes you an outage21:36
FutureTense left21:36
durre left21:36
Neozonz|Disc left21:37
LeMike joined21:37
otter768 left21:37
skylite left21:37
biax left21:38
moritz some copy, some use subtree merges, some use separate repos and build OS packages out of static data, and then depend on them21:38
kopparam left21:38
moritz some use submodules21:38
dsantiago left21:38
moritz some use the CDN21:38
KevinMGranger cardguy1000: look into bower21:38
moritz there are really no limits to your creativity21:38
KevinMGranger or composer-components21:38
eletuchy_ left21:38
a_le joined21:39
eletuchy joined21:39
Neozonz|Disc2 left21:40
dsantiago joined21:41
MattMaker left21:41
steele joined21:42
cardguy1000 KevinMGranger, thanks bower looks neat I'll check this out21:42
ianbrandt joined21:42
pasokk left21:44
steele_ left21:44
phantombeta left21:45
tvw left21:45
tvw joined21:45
samyme joined21:46
tvw left21:46
samyme left21:46
tvw joined21:46
samyme joined21:46
kanye-extension_ joined21:47
helgikrs joined21:47
Macaveli left21:47
kanye-extension_ hello everyone, is it possible to `git pull` a branch, when I'm on a different one?21:47
sorenb !pull21:47
gitinfo pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/21:47
kanye-extension_ say I'm on branch B, and there are changes in my remote origin on branch A. Is it possible for me to pull branch A to my own branch A, without checking out?21:48
sorry, thank you sorenb :)21:48
LeMike left21:48
sorenb no, merge will always merge with HEAD, AFAIK21:48
how should it work in case of conflicts if you don't have it checked out?21:48
philippw joined21:48
Neozonz joined21:49
LeMike joined21:49
folken left21:49
dsdeiz joined21:49
MattMaker joined21:49
samyme left21:49
baweaver left21:50
moritzs joined21:52
livingstn joined21:52
mennea_ joined21:53
FabTG left21:53
mennea left21:53
ianbrandt left21:54
baweaver joined21:54
KevinMGranger left21:55
buffal0 left21:55
cannonball left21:55
JStoker left21:56
baweaver left21:56
crystal77 joined21:57
Shred00 joined21:57
FabTG joined21:58
scriptThis joined21:58
ap0c joined21:59
ap0c left21:59
ap0c joined21:59
EvilPenguin left21:59
kballou joined21:59
melter left22:00
sburgess left22:00
Shred00 if i run "git status --porcelain" at a shell prompt, modified files appear as "<space>M <filename>" however if i run that command in a git hook, the leading space in front of the "M" is dropped and in fact it is inserted before the filename, maintaining the columnar" output. why does git status --porcelain behave differently in a git hook?22:00
adam-adam1222:00
kadoban Shred00: Are you sure? That would be surprising.22:00
osse Shred00: run 'type git'22:01
tinti joined22:01
puff joined22:01
Shred00 kadoban: try it. put this in .git/hooks/prepare-commit-msg:22:02
git status --porcelain >> $122:02
and modify a file and commit and see what's in the commit message.22:02
git is hashed (/usr/bin/git)22:02
sohail left22:04
Embassy joined22:05
kanye-extension_ sorenb: Sorry i didn't get back to you sooner, thank you, that clears a lot up :)22:07
palcu joined22:07
cyphase joined22:07
settermjd left22:07
KevinMGranger joined22:08
melter joined22:08
danemacmillan left22:08
ruukasu joined22:08
tristanp left22:11
sorenbsoerenb22:11
aswen joined22:11
palcu left22:12
tier_ left22:12
joo-_ left22:14
Internet13 joined22:14
Tobbi_ joined22:14
tesaf left22:14
Tobbi_ When I want to rebase interactively, the editor that opens in the command line window shows arrow keys as A, B, C or D in the window instead of ignoring them. Any idea what to do?22:15
osse Tobbi_: that is vim, and is running in a vi-compatible mode, making it behave like it was the 70s.22:15
Tobbi_: you can change which editor to use. you can also touch ~/.vimrc22:16
Tobbi_ OKay, will do in a minute.22:16
osse Tobbi_: option 3: use hjkl as arrow keys :)22:17
Tobbi_ Ah!22:17
Yeah, that seems to be the short fix.22:18
osse Tobbi_: it's how vi(m) is meant to be used also22:18
t4nk729 joined22:18
Tobbi_ osse: When I'm in insert mode, that doesn't work, of course.22:19
Also, the "bug" only occurs in insert mode.22:19
osse correct22:19
denete left22:19
osse oh, that's strange22:19
Tobbi_ Not sure if that's strange.22:19
osse I'm not either22:20
charon the terminal sends some funny escape sequence and A/B/C/D for the arrows22:20
(try 'cat' and then an arrow key)22:20
jonatasnona left22:20
Shred00 kadoban: did you try it?22:20
kadoban Shred00: No. It's the same command, I don't see it doing anything different and I'm not interested enough to perform the experiment.22:21
Tobbi_ charon: As far as I know this started in Yosemite.22:21
dreiss joined22:22
Shred00 kadoban: i know it's the same command. it just behaves differently. here is what is in my commit message when i do the experiment:22:22
M Makefile22:22
with the M in col 1, followed by 2 spaces22:23
mennea joined22:23
baconbeckons joined22:23
mennea_ left22:23
tranzfus_ left22:23
aswen left22:24
nrsk left22:24
dpio left22:24
adamben joined22:25
adamben left22:25
adamben joined22:25
pullphinger left22:26
riceandbeans joined22:26
riceandbeans if I need to change the committer of my last commit by an amend, what do I do?22:26
I've changed the author, but I need to change the committer too22:26
kadoban Shred00: Well, check your assumptions one step at a time I guess. Output to a file on its own from the hook, input to the commit message part separately, etc. *shrug*22:26
s8321414 joined22:26
riceandbeans it's breaking gerrit22:26
JohnBat26 left22:27
desposo left22:27
phantombeta joined22:27
baweaver joined22:27
marioxcc left22:27
Shred00 kadoban: i don't have to output to a file. i can see that git is printing it exactly as i am seeing it:22:28
16817 write(1, "M Makefile\n?? .0\n?? .coverage.h"..., 4096) = 409622:28
Tobbi_Tobbi22:28
pantsman- left22:28
Shred00 that is git printing first the M and then two spaces and then the file name, when called in a git hook22:28
t4nk729 left22:29
ManikM left22:29
ManikM joined22:29
jason237 left22:29
Shred00 and this is git on a command line:22:30
18398 write(1, " M Makefile\n", 12) = 1222:30
marioxcc joined22:31
hgl joined22:31
marioxcc left22:31
samskiter joined22:31
baweaver left22:32
hxm left22:32
v0n left22:33
i_ron left22:33
FabTG left22:33
baweaver joined22:33
kopparam joined22:34
lidaaa joined22:35
i_ron joined22:35
hgl left22:36
livingstn left22:36
Juxtapoe joined22:36
devoldmx joined22:36
baweaver left22:37
JStoker joined22:37
mennea left22:38
Juxtapositional left22:38
adamben left22:38
kopparam left22:39
adamben joined22:39
baweaver joined22:39
EvilPenguin joined22:40
alekks left22:40
joo-_ joined22:40
osse charon: are you still there?22:41
steele left22:41
joo-_ left22:41
KONIG left22:41
devoldmx left22:42
steele joined22:42
v0n joined22:42
yamatoxxx left22:42
moritzs left22:43
KONIG joined22:43
derekm00re Shred00: I've been tempted to use git's short status in hooks, but I find it can be avoided entirely22:44
Shred00: it is better to use the proper git command than parse the output of shitty porcelain commands22:45
Shred00: What are you trying to find?22:45
shpoont joined22:45
shpoont left22:46
pheaver left22:46
steele left22:46
bb010g joined22:46
cagedwisdom left22:47
osse charon: ahh, it's ok. I've been having trouble with git-send-email for a while (it segfaults). But I nuked some stuff in .../site_perl which I also have in .../core_perl and now it works (I don't know what I'm doing).22:47
netj left22:48
netj joined22:48
kanye-extension_ left22:48
BlaXpirit left22:48
Sasazuka left22:49
derekm00re Shred00: M <SP> <SP> Makefile and <SP> M <SP> Makefile is showing you how index and work tree are changing as you go through the workflow22:49
Sasazuka joined22:49
Sasazuka left22:50
Sasazuka joined22:50
kermit left22:50
steele joined22:50
steele left22:50
J1G|Anon126 joined22:50
msmith_ joined22:50
kermit joined22:51
steele joined22:51
coredumb joined22:52
derekm00re Shred00: you probably want the list of files that are staged for commit in your prepare-commit-msg hook? use "git diff --cached --name-only" (some people add --no-color)22:52
coredumb I folks22:52
nfk left22:52
coredumb i was wondering why git client when cloning sometimes doesn't show any progress22:52
is it coming from the server ?22:53
helgikrs left22:53
yamatoxxx joined22:54
msmith left22:54
derekm00re does it happen on the same protocol? or is it an http:// vs. git:// thing?22:54
coredumb seems to happen on http22:55
never had this issue on ssh://22:56
scriptThis left22:56
jheg left22:57
derekm00re that's what I was thinking, I see to recall similar differences in output long ago22:57
dobby156 joined22:58
derekm00re probably has something to do with not being able to lseek(2) files over http?22:58
dobby156 gah, somehow I have managed to detach from master22:58
osse dobby156: !reattach22:58
gitinfo dobby156: 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 --continue22:58
pheaver joined22:58
dobby156 osse: thanks; so git checkout master should do that?22:59
osse dobby156: yes22:59
dobby156 osse: any ideas as to how that might have happened?22:59
I have a pretty basic workflow23:00
osse !detached23:00
gitinfo A detached HEAD(aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach23:00
sohail joined23:00
dobby156 osse: ah submodule23:00
thanks again :)23:00
King_Hual left23:00
osse You're welcome ma'am23:00
kukks left23:00
teran left23:00
rpg left23:01
rpg joined23:01
teran joined23:01
EvilPenguin left23:01
cyphase_ joined23:02
normalra left23:02
cyphase_Guest6515223:02
LeMike left23:02
kukks joined23:03
cyphase left23:03
phantomcircuit left23:04
EvanDotPro left23:05
akiva left23:05
phantomcircuit joined23:05
EvanDotPro joined23:05
baweaver left23:06
jazper- left23:07
licnep joined23:07
tgunr left23:09
Dopagod left23:10
sgen joined23:10
coredumb derekm00re: seems to work correctly on http on some servers though :O23:10
derekm00re could be whether the server reports file-size headers (or continuations)23:10
Content-Length or whatever23:11
Marcus_ left23:11
tgunr joined23:12
martinklepsch left23:12
nardev joined23:12
SumDude left23:13
chrisshattuck joined23:13
Solid1Solid1_afk23:13
m8 left23:13
Kicer86 left23:14
s8321414 left23:14
jwpeddle left23:14
Juxtapoe left23:15
lindenle left23:15
s8321414 joined23:15
SumDude joined23:15
derekm00re So I think I've successfully implemented RCS keyword substitutions in Git using git-archive, smudge/clean filters and hooks... The only accurate and thorough implementation of $Author$, $Date$ and $Revision$ in existence. ;)23:15
SumDude left23:15
SumDude joined23:16
EvilPenguin joined23:16
diegoviola left23:16
kristanner joined23:17
dobby156 left23:18
kadoban derekm00re: Can't say I've really missed those... was it worth it?23:18
jheg joined23:18
sMa_ left23:19
Skapadapaduu left23:19
smccarthy joined23:19
d10n-work joined23:19
t0th_-_ joined23:20
derekm00re kadoban: it was definitely complicated! I just conquered a bug where changes not staged for commit during "add -p" were being overwritten23:20
have a look: https://github.com/derekm/git-keywords23:20
ojacobson joined23:21
steele left23:21
derekm00re I should say, $Author: $Format:%an <%ae>$ $, $Date: $Format:%ai$ $ and $Revision: $Format:%h$ $ ;)23:21
TomyLobo left23:22
kadoban derekm00re: :) Glad you succeeded, that does indeed look complicated23:22
derekm00re basically, anywhere there's a state-machine transition, I hook into it to overwrite files from the index with the results of git-archive (this work exposes several state transitions that are just missing entirely from git)23:23
but the edge cases from those missing state transitions aren't important23:24
ojacobson left23:24
tranzfuse joined23:24
HACKING-FACEBOOK joined23:26
Etheco left23:26
derekm00re to put it simply, it is a very surgical: for i in $(git ls-tree --name-only @); do git update-index $(git archive $(git log -1 --format=%H @ -- $i) -- $i | tar vx); done23:26
Noldorin left23:26
teran_ joined23:27
kpease_kpease23:27
jazper- joined23:27
jazper- left23:27
jazper- joined23:27
derekm00re that for loop is how you initialize the substitutions after a clone and after configuring the filter23:28
philipd left23:28
tranzfuse left23:29
teran left23:30
Gitzilla joined23:31
kpeasekpease_23:31
msmith_ left23:32
pretzel80 joined23:32
otter768 joined23:33
hebz0rl_ joined23:33
diegoviola joined23:34
Zupoman left23:37
jheg left23:38
otter768 left23:38
akiva joined23:39
EvilPenguin left23:39
hebz0rl_ left23:40
derekm00re left23:41
paul424 left23:42
philipd joined23:42
DeathIncarnate left23:43
netcarver left23:44
checkit joined23:45
nour left23:45
dpio joined23:47
howitdo left23:49
pcypher joined23:49
n-st joined23:49
HACKING-FACEBOOK left23:52
corni left23:53
a_le left23:54
danemacmillan joined23:56
baweaver joined23:56
sinequanon left23:57
ome joined23:58
mz|` left23:58
knownasilya left23:59
HACKING-FACEBOOK joined23:59

Logs Search ←Prev date Next date→ Channels Documentation