IRCloggy #git 2010-12-10

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.

2010-12-10

normanrichards joined00:00
normanrichards left00:01
constantc joined00:01
KU0N left00:01
engla jaalto: ok, show me if you have answer/questions that I can vote up for you. Else I guess they encourage signal over noise there (don't take it personally!)00:01
jeremybub joined00:01
petran left00:02
acts_as left00:02
KU0N joined00:03
chrischambers left00:04
jaalto engla: I have none as I just registered in the hop eto comment a thread where people seek for advice about what Emacs package manager would be ideal. As I'm just writing one based on Git and lessons learned in debian I was hoping to give some insight to the original question, and more specifically to #13 about http://www.emacswiki.org/emacs/DELPS00:04
Eridius jaalto: you just registered? I think you can't comment until you accrue enough rep00:05
yep, you need 50 rep00:05
http://stackoverflow.com/faq00:05
jaalto Eridius; Yep, engla told me. The web pages have become a difficult place for us old ones.00:05
constantc left00:05
shennyg left00:06
jaalto engla: Thanks for clarification.00:06
Simkin left00:07
aresnick joined00:07
nothingHappens left00:07
engla oh even 50 rep00:07
Simkin joined00:08
shennyg joined00:08
_psychic_ left00:09
spearce left00:09
spearce joined00:09
engla jaalto: very welcome00:10
bronson joined00:10
chrischambers joined00:10
saulus joined00:12
TheMoonMaster joined00:13
boombatower left00:14
MabZilla joined00:14
ShooterMG joined00:14
acts_as joined00:15
boombatower joined00:16
saulus hi, I have some questions about branches: I have some local git repository that contains some document that evolves over time. At some times I have to give a talk at some position and therefore want to have a branch <talk_at_somewhere>.00:16
ChrisPitzer left00:16
saulus Now I started at some branch of <talk_at_A> because I forgot to create the new branch <talk_at_B>. Further I lost (on purpose) the HEAD by one commit at some time and created a new branch from there.00:17
Now I have the questions:00:17
bcardarella left00:17
craptex left00:17
saulus Was it ok how I got rid of my one change? (By git checkout HEAD~1 and git branch newname)?00:18
davesag left00:18
Eridius you could have used `git branch newname HEAD^`00:19
also, if you're trying to record your talk at given points in time, you should use tags instead00:19
branches are meant for things that will change. Tags are meant for immutable points00:19
therain16 left00:19
saulus Further I want to know if I do something loose if I delete some intermediate branch (lets say <talk_at_B_temp> and now Im already working in the branch <talk_at_C>? Since git confuses my with the message: error: The branch ' <talk_at_B_temp> ' is not fully merged.00:19
Eridius so you can use a branch to work on the talk if you need to make changes for a specific event, and then tag it when you're done00:20
that's a warning, it's telling you that you're deleting a branch that references commits that are not reachable from any other ref00:20
e.g. it's letting you know that you're potentially losing commits00:20
nikolica joined00:20
saulus ah Eridius, never heard about tags. Sounds really like what I need.00:20
Eridius you have a few options here00:20
Wyverald joined00:20
Cogito tags are good00:20
Eridius you could do all your development on master, and then just drop a tag whenever you give a talk00:20
you could use other branches if you need to make temporary changes (e.g. change things for one talk that you will just want to revert after)00:21
Cogito but if you need to do a talk specific change, maybe branch is best...00:21
svnlto joined00:21
ericlee hi how do I delete a branch with its contents?00:21
saulus ericlee: branch -d branchname00:21
ericlee saulus, thanks00:22
saulus Eridius: ok. Sounds like I will switch to tags soon. But back to the warning: What may I loose. I wrote about my scenario. Isnt the information of the to-deleting branch <talk_at_B_temp> contained in the following branch <talk_at_C>?00:23
To be even more precise: I created the talk_at_b_temp on accident and do want to get rid of the branchname. But the contents of the branch shall be included in talk_at_C00:24
Cogito where did you branch c from?00:24
saulus Cogito: from the <talk_at_B_temp>00:25
Cogito and now you want to delete b_temp00:25
what will c be attached to then?00:25
do you have a master branch?00:26
saulus oh, well. maybe Im a bit confused and the git message is from a different scenario.00:26
I just switched to C and deleted b_temp without a warning.00:26
boombatower left00:27
saulus Cogito: that is what I dont understand. So a branch is not self contained but is on top of other trees, right? I thougt about it but am not sure.00:27
acts_as left00:27
Cogito that is more or less my understanding00:28
the branch details the differences from the trunk00:28
mhfs joined00:28
Cogito you want a master branch (ie the trunk) that has your working copy of the talk00:28
then you tag every time you do a sepcifiic talk00:29
mhfs hey guys ... is there something wrong with this command? git --git-dir='/Users/mhfs/testrepo/.git' --work-tree='/Users/mhfs/testrepo' pull00:29
Cogito if you have to do talk specific changes, you branch for that talk, and tag it too00:29
mhfs I keep getting fatal: /usr/local/Cellar/git/1.7.3.3/libexec/git-core/git-pull cannot be used without a working tree.00:29
Cogito but go back to changing the master branch for the next talk00:29
saulus Ok. So then, if I want to change my "branches" to "tags", is it right, that I have to "rebase" (or is it "merge") my branches (starting from A to B to C ...) to the master? Then the master contains all in one kind-of-a-branch and I can tag it?00:30
svnlto left00:30
LiamH left00:30
saulus ok Cogito. It sounds really like "tags" is what I want and what I use "branches" for now.00:31
madewokherd joined00:33
ericlee hi, if I use git-svn, how do I do a fresh checkout?00:33
shennyg_ joined00:36
pantsman left00:39
shennyg left00:40
shennyg_shennyg00:40
noahcampbell left00:40
yaotti_awyaotti00:41
acts_as joined00:41
devians[w] joined00:42
Buglouse left00:42
jeremybub left00:43
robotarmy left00:43
sftp left00:44
acts_as_ joined00:45
acts_as left00:45
acts_as_acts_as00:45
brntbeer_ left00:46
shiba_yu36 joined00:48
acts_as_ joined00:48
normanrichards joined00:50
rzl left00:50
lresende joined00:51
acts_as left00:51
acts_as_acts_as00:51
Buglouse joined00:54
pedrobel_ left00:54
tjholowaychuk left00:55
pedrobelo joined00:55
Unknown[NF]Unknown[OFF]00:56
normanrichards left00:56
frakturfreak joined00:57
ShooterMG left00:59
amerinese left00:59
frakturfreak_ joined01:00
frakturfreak left01:01
sako left01:01
Dreamer3 joined01:02
frakturfreak_frakturfreak01:02
justin-george left01:02
zombor joined01:02
frogonwheels joined01:03
saulus so after lots of easy rebases I got the last problematic one: I am on master and want to rebase myBranch to it. There are some CONFLICTS that I resolved. Now I am on (no branch) in between a rebase. I solved the conflicts. Now 'git status' shows nothing and 'git rebase --continue' tells me No changes - did you forget to use 'git add'? - whats the problem here?01:03
normanrichards joined01:04
spearce left01:04
QinGW joined01:04
workmad3 left01:05
priidu left01:05
frakturfreak left01:06
alvaro_o left01:06
hasrb joined01:07
amerine left01:07
fedesilva joined01:07
amerinese joined01:08
fedesilva_ joined01:10
saulus ok, I skipped it. Seems to be fine, although I'm a bit frithtened what happened. Thank you Cogito and Eridius for your help and inspiration!01:11
gh0stz left01:12
fedesilva left01:12
xiangfu joined01:13
fedesilva_ left01:15
normanrichards left01:16
anti-pattern joined01:17
itamarjp joined01:19
TheMoonMaster left01:21
fualo left01:21
fualo joined01:24
BiggFREE joined01:25
beatak left01:26
foocraft left01:27
gigamonkey left01:28
mikeric left01:28
artefon joined01:29
mhfs left01:30
masonkramer left01:34
masonkramer_ joined01:34
radost_ joined01:34
sako joined01:34
wliao joined01:35
radost_ left01:35
aah left01:36
radost left01:36
MikhX left01:36
nothingHappens joined01:37
lresende left01:39
mase_wk left01:40
robotarmy joined01:43
kanru joined01:44
mase_wk joined01:45
nothingHappens left01:46
pervy_sage left01:46
Cogito no worries saulus01:46
hope it works well for you :)01:47
kevlarman joined01:47
kenichi left01:48
ExtraSpice left01:49
kpreid joined01:49
kevlarman i'm looking for some advice on how to get git-svn working neatly with a repo that looks something like this: http://pastebin.com/uzqu37Qj01:50
oriba left01:50
Squarism left01:51
rchavik joined01:53
cpg left01:53
Rotham left01:54
boombatower joined01:54
MattDiPasquale joined01:57
Amorphous left01:58
kylehayes joined01:58
kylehayes I'm getting "cannot open .git/FETCH_HEAD: Permission denied" when doing a pull01:58
rohanpm kylehayes: check permissions on that file?01:59
kylehayes on the remote one or the local one?01:59
rohanpm local01:59
that would happen if, e.g., somebody was root while they did a fetch or pull in your repo01:59
kylehayes ah hah!02:00
friskd left02:00
kylehayes ok checking02:00
rohanpm if that was indeed what happened, then there may be files scattered all under .git now owned by root and you should chown -R the whole thing02:01
v0n left02:02
kylehayes rohanpm: hmm, not owned by root, owned by me02:02
rohanpm then strace and see why it fails02:03
fowlduck joined02:03
smolyn left02:03
kylehayes rohanpm: you know what, I just looked at the remote one and that file is owned by root....it shouldn't be02:04
rohanpm hmm, I didn't know that a `git pull' would access FETCH_HEAD on the remote? (unless you're explicitly asking for FETCH_HEAD which would be unusual)02:05
abetaha left02:05
shennyg left02:06
shennyg joined02:06
kylehayes rohanpm: that would be unusual, I'm not doing that. changing now...we'll see if it fixes it02:06
friskd joined02:06
rohanpm this happens here as well when people do sloppy work on the production server02:07
bcardarella joined02:09
bcardarella left02:09
kylehayes ugh02:09
that's frustrating02:09
oh wait, fetch_head is not on the remote02:10
Squarism joined02:10
kylehayes but the one on my local is owned by me02:10
hal left02:10
kylehayes so you were saying to strace02:10
yhager_ left02:10
kylehayes which evidently is not on our boxes02:10
Amorphous joined02:11
brendon2020 joined02:11
Deciphered joined02:12
montylounge__ joined02:12
envi joined02:12
xiangfu left02:13
kylehayes rohanpm: after running strace, the command worked inside of it02:13
lol02:13
montylounge__montylounge02:14
Evious left02:15
kylehayes left02:16
nikolica left02:18
saysjonathan left02:18
bronson left02:20
MikhX joined02:21
gh0stz joined02:22
gh0stz left02:22
gh0stz joined02:22
Squarism left02:23
Vampire0 joined02:24
bronson joined02:24
abetaha joined02:24
itamarjp left02:24
jarrod_ left02:24
Squarism joined02:26
fromap joined02:26
Vampire0_ left02:26
KB1JWQ joined02:33
KB1JWQ I've added my .bashrc to git. I change the file, git add .bashrc, and... nothing. It doesn't show any changes.02:34
How would I begin effectively troubleshooting this?02:34
vitor-br left02:36
_psychic_ joined02:36
hakunin_ left02:39
Angel-SL joined02:39
uau KB1JWQ: what did you expect to "show changes" after "git add .bashrc"?02:40
KB1JWQ uau: Both before and after I ran the "git add", "git status" showed nothing.02:41
Er, rather, it showed other changed files.02:42
But not .bashrc02:42
brntbeer_ joined02:42
Deciphered left02:43
uau KB1JWQ: i think that shouldn't happen02:44
it should show the file as changed if there was no ignore rule matching it02:44
and if there was an ignore rule then "git add" should fail02:44
KB1JWQ uau: There is an ignore rule that matches everything, with exceptions declared. .bashrc is one of them.02:45
So I'm not running into ignore issues.02:45
git version 1.7.3.302:45
MikhX left02:45
engla left02:48
uau KB1JWQ: does "git diff .bashrc" show anything after changing it?02:48
KB1JWQ uau: No.02:49
http://pastebin.com/55sttLdJ02:49
hakunin joined02:50
Squarism left02:50
uau what about "git show HEAD:.bashrc"?02:50
noktoborus_ left02:51
andrewwatts left02:51
MabZilla left02:52
acts_as left02:52
Amorphous left02:53
KB1JWQ uau: ...I'm an idiot.02:54
~/.bashrc is a symlink to my dropbox folder.02:54
gh0stz left02:55
constantc joined02:56
saulus left02:56
KB1JWQ Apparently git doesn't follow symlinks.02:56
aresnick left02:57
MabZilla joined02:59
SimonP86 left02:59
mohi666 left02:59
uau KB1JWQ: IIRC git stores the symlink path instead03:00
KB1JWQ Right, so time to adjust that a bit. :-)03:01
ketas-l left03:04
khem_ joined03:05
khem_ how do I use git to obtain https://github.com/char0n/ffmpeg-php ?03:05
this one i mean https://github.com/char0n/ffmpeg-php.git03:06
KB1JWQ !Dropbox/.bashrc03:06
Er.03:06
git clone !Dropbox/.bashrc03:06
Er...03:06
Amorphous joined03:06
KB1JWQ If I can stop failing: git clone https://github.com/char0n/ffmpeg-php.git03:06
kylehayes joined03:07
smolyn joined03:08
aresnick joined03:08
Cogito any idea why I might be getting error "cannot merge now" when using egit?03:08
khem_ left03:08
kylehayes left03:09
Elfe joined03:09
Fullmoon left03:11
Elfe_ left03:12
MikhX joined03:14
yhager_ joined03:14
KB1JWQ uau: Thank you for the help.03:15
artefon left03:15
jaeckel left03:15
jaeckel joined03:16
TrevorBramble joined03:16
acts_as joined03:16
rchavik left03:18
DGodNT left03:20
intripoon_ joined03:20
montylounge left03:22
ketas-l joined03:22
intripoon left03:23
pedrobelo left03:26
Titosemi left03:30
nothingHappens joined03:31
chrischambers left03:31
sraue left03:32
noktoborus_ joined03:32
rchavik joined03:33
gusnan left03:34
normanrichards joined03:35
constantc left03:36
kukks left03:38
Squarism joined03:43
M104 joined03:43
constantc joined03:44
rayners joined03:44
paladaxar joined03:46
andyburke left03:47
constantc1 joined03:48
dgarr joined03:49
sraue joined03:49
constantc left03:50
constantc1 left03:51
gigamonkey joined03:51
frakturfreak joined03:51
_psychic_ left03:51
jsj0nes left03:52
timj_ joined03:52
eletuchy_ joined03:52
eletuchy_ left03:52
_psychic_ joined03:53
eletuchy left03:53
frakturfreak left03:53
eletuchy joined03:53
Cipher-0 left03:55
timj left03:55
kingfishr joined03:56
hasrb left03:56
constantc joined03:57
airborn left04:05
yhager_ left04:08
Eridius left04:10
t0rc joined04:10
abetaha left04:12
smolyn_ joined04:12
smolyn left04:12
nothingHappens left04:12
drl joined04:13
sh1mmer left04:13
boombatower left04:13
planet8 joined04:18
planet8 What is the easiest way to see when a specific file was added to the repo?04:19
Fangorn_ git log --oneline <filepath>04:20
planet8 Fangorn, beautiful, thanks! :)04:21
sivy left04:22
Yuffster left04:22
Fangorn_ planet8: if you have tig, you can use tig <filepath> also04:24
tig is a nice tool for exploring commit histories04:24
Squarism left04:24
crab if you don't have tig, you'll have to do git log --reverse ;-)04:25
Fangorn_ crab, i'm trying to get git log --oneline to also display the date...know how to do that?04:25
mdunham918_ joined04:25
mdunham918_ how do i ungit a repository04:25
im tring to move it on my system and getting access denied04:26
amerine joined04:26
crab Fangorn: --oneline can't do it, but e.g. --format=%aD can04:27
Fangorn_ ok04:27
crab Fangorn: see "PRETTY FORMATS" section in git-log(1)04:27
mdunham: i don't understand your problem or your question. what are you trying to do?04:28
mdunham918_ i have a repo on my local disc04:29
and i want to repo it04:29
git has locked the folder entirely04:29
i was just playing with git to learn it04:29
brendon2020 left04:29
mdunham918_ and dont know it all the way now its annoying i cant move my stuff04:29
is there way to remove a repo04:29
bronson left04:29
crab just delete it?04:30
mmc left04:30
hasrb joined04:30
shentino left04:30
Fangorn_ planet8: git log --pretty=format:"%h %ai %s" <filepath>04:31
mdunham918_ yes04:32
tried rm04:32
but it asks about 10000 access protected files04:32
wereHamster mdunham918_: rm -rf ?04:32
planet8 Fangorn, U'r da man! Thanks! Very nice indeed!04:33
Fangorn_ no problem, and like crab said, you can add --reverse to have it in ascending rather than descending order04:33
paladaxar2 joined04:41
paladaxar left04:41
MattDiPasquale left04:44
Yuffster joined04:48
dannas joined04:49
jrmuizel joined04:52
jrmuizel left04:52
xiangfu joined04:52
orafu left04:53
orafu joined04:54
gebi left04:54
jony1 joined04:54
t0rc left04:57
d1b left04:58
shentino joined04:59
shentino left04:59
shentino joined04:59
orafu left05:00
orafu joined05:01
Deciphered joined05:01
shentino left05:02
BiggFREE left05:04
aresnick left05:05
noahcampbell joined05:06
orafu left05:06
orafu joined05:07
d1b joined05:07
MikhX left05:07
fowlduck left05:07
necromancer joined05:08
M104 left05:08
necromancer hi, does anyone here run gitweb w/gitosis?05:09
orafu left05:10
necromancer i'm trying to set it up on a subdomain on ubuntu05:11
on my ubuntu apache box that is :)05:12
orafu joined05:12
thiago_hel joined05:13
omer_ joined05:14
planet8 left05:17
LaidBack_01 joined05:17
intripoon joined05:19
LaidBack_01 hey, I'm using gitolite for a central repo. Currently I'm the only user, but it's likely that others will use this soon as well. That's good, i hope to get my group into version control at last.05:19
dannas left05:20
orafu left05:20
cytrinox_ joined05:21
LaidBack_01 to that end, the boss is goign to want a nice web interface on it. I'd hazard a guess that more than a few of you are using gitolite... is there any webgui that you'd all recommend? Something that shows the diffs, commit messages, code, etc? I'm not looking for commit ability from the web side - that should all be handled by gitolite, so no webdav, but... monitoring would be the key.05:21
cytrinox left05:21
cytrinox_cytrinox05:21
intripoon_ left05:22
dquestions left05:22
dquestions joined05:22
orafu joined05:23
amerine left05:23
samlt joined05:24
aah joined05:25
M104 joined05:27
sitaram LaidBack_01: gitweb comes with git itself... and does all of that. cgit is another popular choice05:28
necromancer left05:30
noahcampbell left05:31
stliu left05:32
Cromulent joined05:32
zombor left05:33
LaidBack_01 yeah, I just read your docs, and the rc file, saw the provisions for gitweb. just wasn't sure it was going to work till I read about it in your stuff there05:33
thanks for the fantastic mgmt tool, btw!05:34
thiago_hel left05:34
madewokherd left05:35
amerine joined05:36
slide left05:37
srid joined05:37
hobodave left05:38
zombor joined05:38
hasrb left05:39
MetaCosm_ joined05:41
M104 left05:51
slide joined05:52
slide left05:52
slide joined05:52
samlt left05:52
intripoon left05:54
Deciphered left05:54
intripoon joined05:55
Hunner joined05:55
drl left05:55
FabianB left05:55
cylence left05:55
alnewkirk left05:55
towski left05:55
TheUni left05:55
tonyj left05:55
jense left05:55
dabbott left05:55
aef left05:55
dna left05:55
dominikh left05:55
jhelwig left05:55
giallu left05:55
xybre left05:55
Tinned_Tuna left05:55
cantoma left05:55
KeeperOfTheSoul left05:55
jas4711 left05:55
reuss left05:55
ianmcorvidae left05:55
sfires left05:55
divVerent left05:55
cbreak left05:55
candybar left05:55
Cacheaway left05:55
Juri_Agarin left05:55
chitragupt left05:55
avar left05:55
sunn left05:55
quadz|2 left05:57
freimatz joined05:57
quadz|2 joined05:58
petran joined05:58
roop joined05:58
brntbeer_ left05:58
petran left05:59
petran joined05:59
drl joined05:59
FabianB joined05:59
cylence joined05:59
alnewkirk joined05:59
towski joined05:59
TheUni joined05:59
tonyj joined05:59
jense joined05:59
dabbott joined05:59
aef joined05:59
xybre joined05:59
dna joined05:59
dominikh joined05:59
jhelwig joined05:59
Tinned_Tuna joined05:59
cantoma joined05:59
KeeperOfTheSoul joined05:59
jas4711 joined05:59
reuss joined05:59
ianmcorvidae joined05:59
sfires joined05:59
divVerent joined05:59
cbreak joined05:59
candybar joined05:59
Cacheaway joined05:59
Juri_Agarin joined05:59
sunn joined05:59
chitragupt joined05:59
avar joined05:59
chitragupt left06:00
chitragupt joined06:00
zombor left06:02
themarmot joined06:03
kanru left06:03
themarmot can anyone tell me why several of my submodules(not maintained by myself) are suddenly not able to checkout a particular commit06:03
this seems to happen once every couple of months06:04
w0oter joined06:04
abetaha joined06:04
themarmot so i've gotta remove the offenders, the re-add them06:04
mmattice themarmot: some donkey has rebased them so they get a different hash?06:04
LaidBack_01 left06:05
themarmot is the only way to fix that to do what I just explained above?06:05
mmattice the way to fix that would be with a 2x4 to their head06:06
themarmot lol06:06
i agree06:06
rayners left06:06
srid left06:07
dgarr left06:08
lhz joined06:09
smolyn_ left06:09
OOPMan left06:10
golodhrim left06:10
giallu joined06:11
thiago_hel joined06:11
joel_falcou left06:12
kanru joined06:13
samlt joined06:14
petran left06:15
leavittx joined06:15
hobodave joined06:16
stliu joined06:16
stliu left06:16
stliu joined06:16
sambarino joined06:20
Orbixx left06:20
Orbixx joined06:20
abetaha left06:21
Orbixx left06:21
leavittx left06:22
MikhX joined06:22
boombatower joined06:25
phantomcircuit_ joined06:25
pervy_sage joined06:26
pervy_sagesvm_invictvs06:27
leavittx joined06:28
OOPMan joined06:31
MetaCosm_ left06:38
muep left06:39
iveyivey_off06:40
_psychic_ left06:43
slonopotamus joined06:45
steph021 joined06:49
jfkw left06:52
eldragon left06:54
MikhX left06:55
cstephens4 joined06:56
samlt left06:57
Textmode left06:57
paladaxar2 left06:57
eldragon joined06:57
MikhX joined07:01
eagles0513875 joined07:02
eagles0513875 how do i rebase07:02
devanjan joined07:02
giallu left07:03
cstephens4 left07:06
Cromulent left07:07
doener left07:07
doener joined07:07
wecing joined07:08
wereHamster with git rebase07:08
eagles0513875 wereHamster: i am but it keeps chunking out the switches07:09
slonopotamus left07:09
wecing left07:09
skoop joined07:10
skoop left07:10
skoop joined07:10
Wyverald left07:11
wereHamster eh?07:12
eagles0513875 wereHamster: i issue git rebase it wants some switches like -i or -f etc07:15
ludde joined07:16
skoop left07:17
wereHamster yes, some commands tend to require certain options07:17
elmob joined07:17
pratz joined07:17
sh1mmer joined07:20
eagles0513875 wereHamster: what options would i need07:22
im new to git and still learning the ins and outs of things07:22
selckin you still haven't said what you are trying todo07:23
Buglouse left07:23
eagles0513875 i need to rebase the LibreOffice code that im trying to run git pull on to update the code that i have07:23
marc_kdab left07:24
Buglouse joined07:24
wereHamster eagles0513875: man git-rebase07:24
jast eagles0513875: the 'git-rebase' manpage can be found at http://git.or.cz/man/git-rebase [automatic message]07:24
eagles0513875 ty07:24
Mage left07:27
yhager_ joined07:27
Orbixx joined07:29
devanjan left07:30
galderz joined07:32
steph021 left07:32
Vortex35 left07:33
nevyn^_ joined07:33
Rickardo1 joined07:33
nevyn^_ left07:34
nevyn^_ joined07:34
devanjan joined07:36
rchavik left07:37
Zhonghua joined07:39
Fullmoon joined07:39
Cromulent joined07:40
giallu joined07:41
saschpe joined07:41
Fullmoon left07:42
Modius left07:43
Modius joined07:44
Puck` joined07:45
Puck` hi everyone07:45
psankar joined07:46
dreiss left07:46
Vortex35 joined07:47
nuoHep left07:47
_ollie joined07:49
nuoHep joined07:49
MikhX left07:49
pht joined07:51
pht hi07:51
_ollie left07:52
pht is there a handy command that will tell me if current working directory ($PWD) is inside a git repo or not? (git status seems too noisy for me)07:52
wereHamster rev-parse --is-inside-work-tree07:52
pht: man git-rev-parse07:53
jast pht: the 'git-rev-parse' manpage can be found at http://git.or.cz/man/git-rev-parse [automatic message]07:53
skoop joined07:53
mmc joined07:54
vals_ joined07:55
tango_ left07:56
inkedmn joined07:57
pht wereHamster, cool07:57
pht left07:57
ph^ joined07:57
ph^ left07:58
eletuchy left07:59
ph^ joined07:59
dreiss joined08:00
lostern joined08:00
inkedmn dumb question about submodules: if I add a submodule to a project where I own/operate both the main project and the submodule (have write access to both repos), is it possible to make a change to a file in the submodule and commit that change back to the repo from whence it was checked out?08:01
teweWork joined08:02
justin-george joined08:02
inkedmn I realize I can do `git submodule update` to grab new changes that have been pushed to the remote - I'm just curious if I can push updates up to the repo from location where it's checked out as a submodule08:04
vals_tango_08:06
ntoll joined08:06
rchavik joined08:06
yhager_ left08:07
jahid_ left08:07
rchavik left08:07
rchavik joined08:08
vdv left08:08
wereHamster you can push the changes from the submodule itself08:09
inkedmn beauty08:11
thanks08:11
Schmallon joined08:11
Rai joined08:11
workmad3 joined08:12
opalka joined08:15
rchavik_ joined08:16
tango_ left08:16
henrikbjorn joined08:16
rchavik left08:17
MikhX joined08:18
Shoobdidoo joined08:18
skoop left08:20
dreiss left08:20
thierryp joined08:20
tango_ joined08:21
hobodave left08:21
ejholmes joined08:22
priidu joined08:22
Modius left08:22
shamrock left08:23
guardian joined08:25
kirthi joined08:27
Puck` hi everyone, I'm pretty new to git, actually I'm just looking at it, I wish to use for webdevelopment and there's a question I have08:27
rane_ joined08:27
kirthi left08:28
KB1JWQ Puck`: So ask it. :-)08:28
Puck` while I'm out there reading howtos and docs, I didn't find a clear answer on this: can git be used as a private version controller? I mean, can I restrict access to the git repository?08:28
lostern left08:28
KB1JWQ Puck`: It can.08:28
Puck` that's swell, thank you KB1JWQ, I'll google on how to do that (:08:29
KB1JWQ Puck`: For instance, if you're using ssh as your transport, if you lack ssh credentials you can't commit to it.08:29
Buglouse left08:29
resmo joined08:29
ixti joined08:29
Puck` great (:08:31
psankar left08:31
guardian left08:32
psoo joined08:33
itamarjp joined08:33
yac http://book.git-scm.com/4_rebasing.html08:34
^ are those diagrams drawed accordingly to some standard?08:34
rane__rane08:35
linusoleander joined08:36
wipple joined08:37
eagles0513875 left08:38
fruight left08:39
_ollie joined08:40
_ollie left08:40
itamarjp left08:41
pantsman joined08:41
drl newbie question. What does this line mean: @@ -149,12 +128,11 @@ root index freq strong morph greek indo eng arti defin)08:42
joel_falcou joined08:42
airborn joined08:42
fruight joined08:43
roop left08:43
rchavik_ left08:44
vdv joined08:44
rchavik joined08:45
romankrv joined08:46
codetroll joined08:48
themarmot left08:50
opalka left08:50
codespectator left08:52
dpino joined08:52
rseifert joined08:53
rseifert left08:54
cilly joined08:55
fruight left08:57
ayanes joined08:58
ayanes left08:58
ayanes joined08:58
workmad3 left08:58
codetroll good morning good people.. At work we still use cvs and each time we install a javaproject the entire project is tagged as a version in cvs, making it easy to keep track of traceability and always be able to check exactly what has been installed in production etc. Is there a similar feature in git where I can tag the entire project tree as a version or similar???08:59
Yuffster left08:59
tango_ codetroll: in git you can only tag entire project trees08:59
paddy__ joined09:00
codetroll ok - how to do that?? (and how to find the tagged version again ;) )09:00
sebbi joined09:00
tango_ man git tag09:00
jast the 'git' manpage can be found at http://git.or.cz/man/git [automatic message]09:00
tango_ ;-)09:00
ah lol09:00
man git-tag09:00
jast the 'git-tag' manpage can be found at http://git.or.cz/man/git-tag [automatic message]09:00
tango_ jast should really be fixed for the dashy thing09:00
codetroll thank you :)09:01
tango_ codetroll: and the git checkout if you want to check out a particular tag09:01
carutsu_ left09:01
dquestions left09:01
tango_ beware that checking out a tag detatches your head and you should not do commit on top of that09:01
fruight joined09:02
dquestions joined09:02
crashanddie tango_, so you need to branch?09:02
codetroll cool..09:02
tango_ crashanddie: depends on what you want to do09:03
codetroll and no I wouldn't commit on top of a tagged version. It would merely be to be able to get hold of what was installed/delivered etc at a specific point in time09:03
Schmallon left09:04
jony2 joined09:04
crashanddie tango_, well, say I've got a tag named v2.4.1 which represents the commit that finalised version 2.4.1 of fooapp, current version is 2.6.x, I want to add a bugfix to that specific version and release it?09:04
davux joined09:04
davux hi :)09:04
shiba_yu36 left09:04
crashanddie tango_, git checkout -b bugfix-v2.4.1 v2.4.1 ?09:04
tango_ crashanddie: then you need to branch from v2.4.1 yes09:04
davux how do you reflect an "svn mv branch newname" with git svn ?09:05
tango_ you could name it v2.4.1.x or v2.4.x depending on your scheme09:05
davux i lookes everywhere and I can't find it09:05
jony1 left09:05
davux looked*09:05
crashanddie tango_, aye, but my process requires QA to validate before giving a new version number ;)09:05
but yeah, that would become 2.4.1.109:06
just wanted to check I got it right, cuz I've imported 4 years worth of revisions and tagged them based on numbers versions, would've been bummed if it weren't possible to use those tags :P09:06
tango_ so you call the branch v2.4.1.x or whatever and then v2.4.1.1 would be tagged when QA is happy with it09:06
crashanddie yeah, fair enough.09:07
opalka joined09:07
tango_ you can also have a branch called like a tag, and then you can use tags/name vs heads/name to differentiate, but that's prone to generate some confusion09:07
crashanddie yeah, I usually avoid naming the branches the same as tags.09:07
Wyverald joined09:11
dl9pf left09:12
pom joined09:12
dl9pf joined09:12
dl9pf left09:12
dl9pf joined09:12
linusoleander left09:14
nevyn^__ joined09:15
asmega left09:15
olliey joined09:16
Nickeeh With these guidelines: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html anything else I may have to look for when writing commit messages?09:17
nevyn^__ left09:17
nevyn^__ joined09:17
nevyn^_ left09:19
yac i am looking for a tool which i can use to resolve conflicts when i have a list of (hundreds of) files which i know i can resolve by using "theirs" version09:19
Nickeeh yac: git checkout <file> --theirs ?09:19
rchavik left09:20
henrikbjorn left09:21
yac Nickeeh: im not sure if i can use it from the manpage. My git is after merge so the files in my working tree are staged for commit but in conflicted state09:22
romankrvrrr09:23
resmo left09:23
rrrromankrv09:23
asmega joined09:23
roop joined09:24
pantsman left09:24
yac Nickeeh: yep, thats it. thanks09:26
guardian joined09:26
dquestions left09:27
dquestions joined09:28
codespectator joined09:28
kpreid left09:28
lanthan_afh joined09:29
primalmotion joined09:33
primalmotion hi there09:33
I've got a small question. I've merged a branch and their was conflicts. I solved them but I screw up09:33
is there any git magic in order to cancel last merge ? (other than reset because I don't really remember the origin point of merging)09:34
In order to re-resolve my conflicts ?09:34
apanekapanek-work09:34
yac hope you have not screwed up too much, i am fixing my screw up for ~10 hours now09:35
primalmotion yac: that's a big screw up :)09:35
yac maybe a git-revert may help you09:35
yep, it is09:36
spaceonline joined09:36
primalmotion yac: why don;t you revert and then retry ?09:36
resmo joined09:36
primalmotion that's what I do when I screw up ( and I often screw up ...) and that's why I ask my question about git magic to accelerate this process)09:37
crashanddie http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#reverting-a-commit09:37
davux how do you know what branch a given commit belongs to?09:38
or what branches09:38
primalmotion crashanddie: yes I know that, I just wondering if there was a way to automatically revert to the last merge without searching the log09:38
davux gitk can know that but i don't have access to it09:38
kpreid joined09:39
Wyverald left09:40
flavius joined09:41
albel727_2 joined09:41
romankrv left09:41
flavius How can I review the changes that've been made upon "commit -a", i.e. diff'ing all the files about to be committed?09:42
... and show the diffs in the editor09:42
albel727 left09:43
davux flavius: git diff --cached09:44
Anti-X joined09:46
flavius nope, not what I want (and it doesn't show anything either). I think I came across some parameters that made this possible: upon "commit -a" to also see in the editor all the diffs, so I can write an appropiate message09:46
eletuchy joined09:46
varuntv joined09:47
flavius Unfortunately I cannot recall the parameter, and I couldn't find anything in the manual09:47
crashanddie flavius, when you commit -a, you're already commiting09:47
varuntv left09:47
crashanddie there's no review process involved09:47
yac primalmotion: its complicated i have several UML diagrams describing what happend and how to solve it09:47
crashanddie if git diff --cached doesn't return anything, it means there are no changes to the head09:47
davux flavius: add -p to your git commit command09:48
primalmotion yac: then good luck :)09:48
flavius crashanddie: git status shows lots of changes. I need the diff for every file shown there09:48
yac primalmotion: thanks, i think i am like half-way there09:48
davux flavius: how does git status mention the changed files?09:48
flavius davux: "unknown switch 'p'"09:49
davux are they about to me committed, or just modified?09:49
flavius davux: as "modified"09:49
davux so git diff09:49
Gitzilla left09:49
flavius yeah, but how to do it for all of them at once?09:49
crashanddie it does?09:49
davux git diff09:49
amerine left09:50
davux either git diff or git diff --cached will show them, depending on whether they're already staged for committing09:50
albel727_2 left09:50
flavius davux: thanks, that did it. yet I am pretty sure there was something which made git put exactly that diff for everything in the editor when I was asked for a commit message09:51
slide left09:51
gebi joined09:51
kanru left09:51
davux flavius: that's -v, sorry, not -p09:51
Puck` so I created the git repository, I a reply back Initialized empty Git repository in /home/puck/1r.hu/.git/ . Next step would be to clone this on my machine, but I guess 1st I need to make it available. Do I need to configure apache for this, or git already know where this is?09:52
davux -p is for git log iirc09:52
flavius davux: yes, THAT was it09:52
Puck` *knows09:52
davux anybody know how to see the branches a given commit sits on?09:53
tatsuya joined09:53
davux i renamed a branch in svn using svn mv09:54
and i'm following the svn repo using git svn09:54
but i can't replicate the branch renaming into git09:54
drl left09:54
davux i did git svn fetch though, and so i do have the commit's hash09:55
but i can't find it in any branch09:55
raorn joined09:55
raorn hi! i need help with merge09:55
http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html - this describes how to merge one subtree into another09:56
urkud left09:56
raorn i need to import single file foo.txt from a remote repository into bar/baz/foo.txt in my repo09:56
with ability to do further merges from "upstream"09:57
sivy joined09:59
ExtraSpice joined10:00
noyb joined10:01
tatsuya left10:03
anathematic joined10:04
bluenovember joined10:04
Rai_ joined10:04
Rai left10:07
QinGW left10:07
Gitzilla joined10:07
drl joined10:10
engla joined10:10
engla left10:10
engla joined10:10
dk39350 joined10:14
drl left10:14
EgS joined10:15
workmad3 joined10:16
boombatower left10:18
dk39350 left10:19
rolfb joined10:20
paddy___ joined10:20
pratz_ joined10:20
pratz left10:21
paddy__ left10:21
teweWork left10:22
teweWork joined10:24
tatsuya joined10:25
lundtor joined10:25
teweWork left10:25
drl joined10:26
teweWork joined10:27
nevyn^_ joined10:29
teweWork left10:29
Schmallon joined10:29
JoeCoolDesk joined10:30
JoeCoolDesk Hello friends.10:30
teweWork joined10:30
ChanServ set mode: +v10:30
ludde I've made a commit, but I realized that I want to split it up into two separate commits, how would i fix that (with rebase i assume)?10:30
dquestions left10:31
nevyn^__ left10:32
teweWork left10:32
dquestions joined10:32
ereslibre joined10:33
ereslibre left10:33
ereslibre joined10:33
teweWork joined10:33
nicoulaj left10:34
rudi_s ludde: Not pushed yet? git reset HEAD~; git add -p; git commit; git add -p; git commit10:37
mtx_init left10:39
ejholmes left10:39
MikhX left10:39
ludde rudi_s: I've made loads of commits after that commit i want to split10:40
I found git rebase -i and then edit10:40
it seems to do the trick10:40
rudi_s ludde: Oh, then rebase.10:40
curtana joined10:40
rudi_s But if you've pushed these commits, you'll break the history of everbody else.10:40
nicoulaj joined10:41
ludde it's my own private branch10:41
rudi_s ludde: Then it's fine.10:42
tvw joined10:42
eletuchy left10:42
priidu left10:43
wliao left10:43
marc_kdab joined10:44
awilkins joined10:46
omer_ left10:46
tlonim yeah..git rebase involves tampering with past, kind of like time travel :P10:46
amberovsky joined10:47
engla time travel is when you reorder commits10:47
amberovsky .10:47
ludde when i use squash with rebase, it opens up an editor with the empty file $@ (or maybe it was @$) several times10:47
amberovsky left10:47
ludde what am i supposed to enter there?10:47
$@ is the name10:48
it's in the root of my project10:49
it's probably a git bug?10:49
tlonim engla: yeah..or delete or merge .. i meant any sort of tampering10:49
workmad3 left10:51
Unknown[OFF]Unknown[NF]10:51
Zephyrus joined10:52
tlonim ludde: how did you run it ? something like git rebase -i master~10 ?10:52
muep joined10:53
anathematic left10:53
ludde git rebase -i <name_of_the_branch_i_branched_from>10:54
muep left10:54
elmob left10:55
priidu joined10:55
JoeCoolDesk left10:56
henrikbjorn joined10:56
gretch left10:58
muep joined10:58
ketas-l left10:59
ketas-l joined11:02
dr_win left11:03
dr_win joined11:03
d0k joined11:04
rolfb left11:05
nevyn^_ left11:06
rolfb joined11:08
Jippi_mac joined11:09
ramok joined11:10
stliu left11:11
Jippi_macJippi11:12
ExtraSpice left11:12
Cromulent left11:13
FauxFaux left11:14
artefon joined11:15
zorzar joined11:16
dytrivedi joined11:18
zorzar_ left11:18
Cogito If I have branched master, developed and merged updates from a remote master, then want to create a commit that has just my changes, i want to use rebase -i, correct?11:19
trupheenix joined11:20
cbreak_work that's one way11:20
Cogito I'm not sure how to only have my changes11:20
cbreak_work make a temporary working branch for that11:20
Cogito ok, how else could I do it?11:20
cbreak_work that way you won't destroy anything11:20
git filter-branch11:20
you'd write a filter program11:20
Cogito not at all sure of how to do that/what you mean11:21
I branch master than merge the updates to it?11:21
I need all my changes to be in one commit11:21
though I use many commits whilst developing11:22
dwmw2_gonedwmw211:22
cbreak_work oh, just use rebase... it's easier11:23
but be aware that rebase changes the current branch11:24
so if you want to keep it, branch off it11:24
drl left11:24
thiago_hel left11:25
trupheenix hi11:25
i am trying to track a remote branch11:25
ExtraSpice joined11:25
gusnan joined11:25
trupheenix but it is not listed in git branch -r11:25
however the branch has been created on the server11:26
so how do i track the remote branch?11:26
dytrivedi left11:26
cbreak_work trupheenix: git fetch remote11:26
does it appear now?11:26
Anti-X left11:27
Zephyrus left11:28
Anti-X joined11:31
albel727 joined11:32
mapreduce git show 8174 seems to show me a particular file, in full, with no diff markers etc.11:32
git log 8174 shows nothing.11:32
ExtraSpice left11:32
doener mapreduce: so 8174 is a blob11:32
mapreduce It turns out I was looking for a non-existent branch named 8174 (I tend to name branches after ticket numbers).11:33
Ok, I see.11:33
Is there a way of specifying that I want a branch (I realise that if there's a branch with the same name the branch will be shown)?11:34
salat joined11:34
salat hey..how do i push all my local branches to a remote repository?11:35
ExtraSpice joined11:35
ramok left11:36
kai joined11:37
kai hi11:37
Ryback_ joined11:37
Ryback_ left11:37
Ryback_ joined11:37
kai the current msysgit net installer seems to be missing libiconv2.dll, any idea where to get that from?11:38
raorn left11:39
SRabbelier left11:43
yotaff joined11:44
JoeCoolDesk joined11:44
vitor-br joined11:45
JohnBat26 joined11:46
JoeCoolDesk I have a problem with my repository being repeated in my git client11:48
devanjan left11:48
offby1 repeated?11:50
JoeCoolDesk Yes, repeated.11:50
rev1 rev2 rev3 rev1 rev2 rev3 rev4 rev511:51
wereHamster JoeCoolDesk: you rebased your history, correct?11:51
offby1 admires wereHamster for (apparently) understanding JoeCoolDesk's problem11:53
wereHamster is just guessing11:53
JoeCoolDesk wereHamster, yes.11:54
wereHamster guessed right11:54
henrikbjorn left11:54
JoeCoolDesk It's correct in git log though.11:54
wereHamster if it's correct in git log, where is it 'incorrect' then?11:55
leo2007 joined11:56
leo2007 What's the quickest way to show the content of a commit?11:56
wereHamster leo2007: what do you mean by content?11:57
JoeCoolDesk wereHamster, in my git client, and pretty much every other client.11:57
leo2007 the log and diff etc. possible also notes11:57
possibly11:57
ptor git show <sha1>, presumably11:57
wereHamster JoeCoolDesk: maybe the git clients are displaying two different brnaches which have the (almost) same comits11:57
leo2007: git show <sha>11:57
leo2007 getting "fatal: bad object cde5721ffe534d0cb6c13f8fea9e91245d9b33c7"11:58
JoeCoolDesk wereHamster, I doubt that.11:58
leo2007 I have tried exactly that.11:58
wereHamster leo2007: where did you get that hash from?11:58
leo2007 from the log11:58
wereHamster leo2007: git cat-file -t cde5721ffe534d0cb6c13f8fea9e91245d9b33c711:58
leo2007 wereHamster: my bad. I was doing it in another git repo.12:00
it works now.12:00
sorry for the noise.12:00
kirthi joined12:01
ereslibre left12:02
paddy___ left12:02
paddy__ joined12:03
Cromulent joined12:04
normanrichards left12:05
dvaske left12:07
ixti left12:08
tizbac joined12:09
Yuuhi joined12:09
JoeCoolDesk wereHamster, Giggle definitely shows repeation.12:09
wereHamster JoeCoolDesk: screen shot?12:09
Anti-X left12:10
JoeCoolDesk Hold please.12:11
davux left12:14
tjholowaychuk joined12:16
urkud joined12:19
yngress joined12:21
dvaske joined12:23
airborn left12:23
henrikbjorn joined12:26
Anti-X joined12:26
salat left12:29
mishok13 joined12:30
petercoulton joined12:30
Anti-X left12:33
nevyn^_ joined12:35
skoop joined12:39
SianaGearz joined12:41
frakturfreak joined12:43
nevyn^__ joined12:44
JoeCoolDesk Giggle is by far the best GUI I've ever used for Git.12:45
wereHamster, for some reason when I pull and look at the local version with giggle, it seems fine, but the remote version is repeated.12:45
nevyn^__ left12:46
nevyn^__ joined12:46
nevyn^_ left12:46
offby1 by far the best, except for when it gives the wrong answer12:46
other than that, though12:47
Bombe :)12:47
frakturfreak_ joined12:49
frakturfreak_ left12:49
frakturfreak left12:49
JoeCoolDesk left12:51
yaottiyaotti_aw12:51
wereHamster where's the screenshot?12:52
workmad3 joined12:52
constantc left12:53
offby1 http://live.gnome.org/giggle12:54
wereHamster I mean of his history..12:54
offby1 *shrug*12:54
chrischambers joined12:54
yaotti_awyaotti12:55
Titosemi joined12:56
Titosemi hey guys, it's possibñe to make a merge in my master from another brach just until a desire commit with it sha1?12:57
cbreak_work just merge the sha12:57
wereHamster Titosemi: git checkout master && git merge <sha1>12:57
Titosemi wereHamster: thanks12:58
und0 joined12:58
offby1 is again amazed at wereHamster's mind-reading powers12:58
_ollie joined12:59
Cromulent left13:00
jaql joined13:00
Titosemi and how can i see which commits are from a particular branch?13:01
_ollie left13:02
cbreak_work not13:02
commits are not from a branch13:02
KU0N left13:02
cbreak_work they can be in one13:02
you can ask git branch -a --contains <sha> for that13:02
but you can't know in which branch a commit was made13:02
Titosemi aham, ok13:03
jony2 left13:03
KU0N joined13:03
dvaske left13:04
nevyn^_ joined13:05
nevyn^_ left13:05
masonkramer_ left13:05
nevyn^__ left13:05
laj joined13:06
nevyn^_ joined13:06
Titosemi so i can't have a view like this within gitx, isnt it? http://img254.imageshack.us/img254/2363/picture1od.png13:06
cbreak_work isn't that the normal view of gitx?13:07
if you show all branches?13:07
well, visual differences aside :)13:08
yaottiyaotti_aw13:08
Titosemi hehehehe13:08
mine looks like this http://img829.imageshack.us/img829/5843/picturejl.png13:08
cbreak_work that's more or less the same13:09
Titosemi but you don't see two lines, one for master, and one for develop13:09
dels joined13:09
Titosemi also a line for each brach :)13:09
cbreak_work because master ends on the second line from the bottom13:09
each branch has one line13:09
Titosemi ok, that's a good news, because i plan to make some merge into master13:10
:)13:10
cbreak_work: thank you :)13:10
cbreak_work should all be fast forward13:10
np13:10
Titosemi really?13:10
i'm doing all the merge with no-ff13:11
cbreak_work :/13:11
I like fast forward13:11
my history is like a single line.13:11
kanru joined13:11
Titosemi i am following nvia branching model13:11
yesm that's what i dont want to :)13:12
alnewkirk left13:12
Titosemi http://nvie.com/posts/a-successful-git-branching-model/13:12
cbreak_work why not?13:12
my branching model is successfull :)13:12
Titosemi hahaha13:12
cbreak_work I make a branch for each thing I want to do13:12
Titosemi my wasnt at all, that's why13:12
cbreak_work do it in the branch13:12
then rebase and fast forward it into my master13:12
Titosemi i'm liking this one13:12
JoeCoolDesk joined13:13
xiong joined13:14
archis joined13:18
archis left13:18
archis joined13:18
dquestions left13:18
dquestions joined13:18
coderdad joined13:22
coderdad left13:22
coderdad joined13:22
shentino joined13:23
justin-george left13:23
storrgie_ left13:24
ptor I use --no-ff and --log to get an easy view of the actual changes (e.g. related to a number of problem reports) that get merged into the release branch. For other things, e.g. some "normal" feature work that I keep on the side for a while I use normal --ff.13:24
blalor joined13:25
nohk joined13:28
devanjan joined13:28
lundtor left13:29
injekt joined13:30
storrgie_ joined13:31
storrgie_ left13:31
storrgie_ joined13:32
wipple left13:33
Cromulent joined13:36
Titosemi ok guys, so the merge from master comes from the tag v.02. isn't possible that this merge is at the same hight at the develop one? (i'm not sure if i explained myself) http://img253.imageshack.us/img253/5519/picture1tz.png13:37
m0 joined13:37
engla Titosemi: what do you want to do?13:38
cbreak_work Titosemi: tags are yellow. branches are green. current branch is orange13:39
Titosemi yes :)13:39
cbreak_work as you can see, the branch release-0.2 is tagged with v0.213:39
Titosemi but i want the branch merge13:39
cbreak_work branch merge13:39
?13:39
Titosemi to be at the same hight as the v0.213:39
roop left13:40
cbreak_work you can use fast forward merging, yes13:40
Titosemi i've made a merge in the master. That is at the top of the history13:40
cbreak_work just git checkout master, git merge v0.213:40
well13:40
not anymore13:40
since master is already ahead13:40
Titosemi hehehe, ok. How can undo that?13:41
cbreak_work git log -g13:41
then note the previous hash13:41
then git reset --hard thathash13:41
und0 left13:42
Titosemi thanks13:42
cbreak_work might be HEAD@{1}13:42
Titosemi :)13:42
cbreak_work (Told you! :)13:42
bentob0x joined13:42
jspiros left13:43
Unknown[NF]Unknown[OFF]13:43
Unknown[OFF]Unknown[NF]13:44
FauxFaux joined13:44
dvaske joined13:44
jkp left13:45
Titosemi :) what does the -g? i dont get what it says in the man. Walk reflogs?13:46
jkp joined13:47
codetroll left13:47
simplecloud joined13:50
amerinese_ joined13:51
cbreak_work Titosemi: man git-reflog13:52
jast Titosemi: the 'git-reflog' manpage can be found at http://git.or.cz/man/git-reflog [automatic message]13:52
cbreak_work it shows the same as git reflog, just diferently13:52
thiago_hel joined13:54
yaotti_awyaotti13:54
amerinese left13:54
Titosemi thanks13:55
dpino left13:56
chessguy joined13:58
zombor joined13:59
smolyn joined14:00
sftp joined14:01
lol_h joined14:02
SimonP86 joined14:02
jspiros joined14:03
zheng joined14:04
artefon left14:05
bentob0x left14:05
thiago_hel left14:05
Cromulent left14:06
Cromulent joined14:10
kirthi left14:11
jelmer left14:12
jelmer joined14:13
cilly left14:15
MattDiPasquale joined14:15
jspiros left14:15
jspiros joined14:16
cilly joined14:17
normanrichards joined14:18
archis left14:18
chessguy left14:18
dnordstrom left14:19
dannas joined14:20
Yuffster joined14:21
henrikbjorn left14:22
JoeCoolDesk left14:24
Titosemi ho do i use difftool with a stage file?14:24
ok, got it14:25
amerinese_ left14:25
offby1 any time14:25
q0rban joined14:27
ketas-l left14:28
flavius Upon merging two brancher, will the histories also be merged?14:28
offby1 of course.14:28
what else could "merging" possibly mean?14:28
flavius I mean the logs14:28
offby1 flavius: general-purpose git advice: 1) Read "Git For Computer Scientists" (http://eagain.net/articles/git-for-computer-scientists/); 2) Run "gitk --all"; 3) Learn about "git reflog"14:28
flavius offby1: thanks, will do14:29
simplechat joined14:29
simplechat left14:29
simplechat joined14:29
sixteneighty joined14:29
blalor left14:30
blalor joined14:31
Aleph_One joined14:31
ketas-l joined14:31
rraasch left14:32
paddy__ left14:33
sambarino left14:33
ilteris__ joined14:33
mkramer joined14:33
normanrichards left14:36
MattDiPasquale left14:36
vdv left14:36
HG` joined14:36
flaguy48 left14:37
kukks joined14:37
mastro offby1, flavius actually i'm curious too... how do the output of git log handle it? does it only show one of the parent branch?14:39
shamrock joined14:39
trupheenix left14:39
SethRobertson inkedmn: pnig?14:40
or even ping14:40
nsussman left14:41
\mjd joined14:41
Yuffster_ joined14:42
Yuffster left14:45
mfacenet joined14:45
mfacenet left14:45
mfacenet joined14:45
heptadecagram joined14:46
heptadecagram left14:47
LiamH joined14:47
NickyP joined14:49
nothingHappens joined14:49
jkp_ joined14:49
dannas left14:50
unrael_ left14:50
unrael_ joined14:50
frogonwheels left14:51
jkp left14:52
beatak joined14:54
jkp_ left14:54
mfacenet left14:54
TheMoonMaster joined14:55
freimatz left14:56
jkp joined14:56
workmad3 left14:57
NickyP left14:58
devanjan left14:58
TheMoonMaster left14:58
ive joined14:59
ive left15:00
petercoulton left15:01
LRN left15:02
cannonball joined15:02
JohnBat26 left15:03
jauler left15:03
LRN joined15:03
normanrichards joined15:04
Dave^| joined15:04
agile joined15:05
marc_kdab left15:05
rgr_ left15:06
kanru left15:06
cbreak left15:07
jshsu left15:10
jshsu joined15:10
Unknown[NF]Unknown[OFF]15:11
kylehayes joined15:11
psoo left15:11
zheng left15:12
xiangfu left15:12
ziou joined15:12
ivey_offivey15:12
fruight left15:13
ChanServ set mode: +v15:13
cbreak joined15:13
Pewpewarrows joined15:14
ziou hi, i have a GIT clone of the linux kernel. I put my code into it, commit etc. sometimes, i push it to a "master public repos". Sometimes, I pull from linus's 2.6 GIT, sometimes the .x.y.z stable release (different GIT, also based on linus's GIT repo). Then it finds some differences which are not fast forwarded15:16
instead they're commited as real diffs15:16
cbreak_work git does not commit anything as diff15:17
heptadecagram joined15:17
ziou what i mean is that they're not being fast-forwarded15:17
even thus the changes I pull do not touch my local changes15:17
golodhrim joined15:17
ziou i remember reading that it's on purpose, but I can't find out why/how/if it can be disabled/if there's a better way to do what i do15:18
iveyivey_off15:19
__name__ joined15:19
cbreak_work of course you won't get fast forwards if you pull from different branches15:20
you do know what pull means, right?15:20
Schmallon left15:21
cbreak_work it's a combination of fetch and merge15:21
ivey_offivey15:21
boombatower joined15:21
boombatower left15:21
boombatower joined15:21
cbreak_work the merge part merges the branch you pull into your current branch15:21
xiong left15:21
bhosie joined15:22
flaguy48 joined15:22
cbreak_work so every time you pull from an other branch, it'll give you a new merge commit, unless it can be fast forwarded (which is unlikely)15:22
dvaske left15:24
imajes left15:24
Jippi left15:24
jstemmer joined15:25
mdunham918_ left15:26
imajes joined15:26
\mjd left15:26
hasrb joined15:26
ziou cbreak_work: lets say i follow linux-2.6/master. I branch it to linux-2.6/2.6.36. There is another git repos which has 2.6.36.2 (stable fixes). I want the fixes, so I pull from that branch. These changes won't be fast-forwarded. Can I change my branch to rebase itself on the 2.6.36.2 upstream so that it gets fast forwarded? With the knowledge, that 2.6.36.2 upstream has been merged from the same 2.6.36 base as me15:27
fruight joined15:27
sonnym left15:27
ziou that is so that I can keep on pulling easily 2.6.36.3, .4 etc etc (as in it all gets fast-forwarded unless there are local changes that *i* made)15:27
kylehayes left15:28
kylehayes joined15:28
ivey left15:29
hohoho joined15:29
cbreak_work ziou: man git-rebase15:29
jast ziou: the 'git-rebase' manpage can be found at http://git.or.cz/man/git-rebase [automatic message]15:29
proycon joined15:30
yhager_ joined15:30
urkud left15:31
proycon I have a git repository on github, and an SVN repository at work.. both already exists and now contain the same data.. I now want to make a local git repository that can read/write from/to both github and svn (through git svn)... is this possible?15:31
(the problem being that the repositories already exist, I'm not starting from scratch)15:32
ziou cbreak_work: ok - does it means GIT remember what you merged from somewhere? I though it was only using the unique hashs so that it could discover what's fast forwardable on it's own no matter the source, if they have common ancestors15:33
fedesilva joined15:33
ivey joined15:34
hasrb left15:34
kai left15:34
cbreak_work it does not store that15:35
unon joined15:37
tjholowaychuk left15:37
doener sure it does, as the merge commits combine the histories by means of having multiple commits15:37
s/commits/parents/15:37
proycon hmm.. I think I'm onto something now... git svn is smarter than I thought15:37
doener ... assuming that we're talking about histories, not plain changes.15:38
proycon I just did a git svn init in the github clone15:38
hebz0rl joined15:38
rhl joined15:39
Buglouse joined15:40
marc_kdab joined15:40
resmo left15:42
ziou cbreak_work: i've read the man page but i still don't really understand what's happening. I made a drawing that makes it clearer, if you don't mind helping my newbiness15:43
http://goo.gl/CDpl4 (PNG image)15:43
jspiros left15:44
Textmode joined15:44
cbreak_work going home soon, sorry15:44
lresende joined15:44
cbreak_work git-for-computer-scientists should help, google it, maybe :)15:45
ziou well, or anyone else of course, the PNG is really making the issue clear15:45
galderz left15:45
tjholowaychuk joined15:45
Textmode left15:46
cbreak_work left15:46
Textmode joined15:46
proycon hmm.. no luck :( I get Unable to determine upstream SVN information from HEAD history15:47
muep left15:47
jspiros joined15:48
abetaha joined15:48
ScottO_ how would i get the history for a single file?15:49
Yuffster_ left15:52
imajes left15:53
tango_ ScottO_: git log filename15:53
fsk joined15:53
fsk left15:54
madewokherd joined15:55
TheMoonMaster joined15:56
_psychic_ joined15:56
simplecloud left15:56
lchm joined15:56
jmil joined15:58
Aleph_One left15:58
OOPMan left15:59
alvaro_o joined15:59
yaottiyaotti_aw16:00
psoo joined16:00
thiago_hel joined16:01
thiago_hel left16:01
thiago_hel joined16:01
thiago_helthiago_arn16:02
blalor I just did a "git svn rebase" while on master. one update came in, with commit id be21c. the output of "git diff be21c" is empty, however.16:03
"git log -p" shows a diff in one file, tho. What am I doing wrong?16:04
lchm left16:04
ttn joined16:05
awilkins blalor, Have you made any changes to master that are not in the remote SVN branch?16:05
blalor no. doing all my work on a local branch16:05
ttn left16:06
ayanes left16:07
awilkins So the revision be21c is the same as your current HEAD checkout?16:07
friskd left16:07
marc_kdab left16:07
blalor I'd done essentially the same change (minus some whitespace difference, I think) on my "localdev" branch and then stashed it, without committing to "localdev"16:07
should be; how can I check?16:07
jspiros left16:07
eletuchy joined16:08
ziou left16:09
awilkins If `git diff be21c` returns nothing than your current tree is identical to be21c16:09
blalor "cat .git/refs/heads/master" returns be21c44ca51f5fcc1b781f6491c7dda031f94254 (the long whole sha1)16:09
jspiros joined16:09
miker__ joined16:09
sonnym joined16:09
miker__ left16:09
blalor hrm. ok. so how do I see the contents of just that commit? `git show be21c`?16:10
awilkins svn rebase takes all the remote changes and replays your local commits after them - so it always commits new revisions,16:10
yhager_ left16:10
goldins73 joined16:12
goldins73 left16:12
awilkins Since it's the last commit on your local branch, try git diff HEAD^16:12
roop joined16:12
rgr joined16:13
blalor ok, I misunderstand "git diff"; i'm thinking of it as a svn revision and basically want "svn diff -c <revision>".16:13
thiago_arn you can do a similar thing:16:13
git diff sha1~..sha116:13
mapreduce git show <revision>16:13
thiago_arn equivalent to svn diff -r revision-1:revision16:13
mapreduce sha1 rather than revision, sorry.16:14
simplechat left16:14
awilkins or bzr diff -r 1..2 :-)16:14
blalor ack. thanks, thiago_arn. "git diff sha1~..sha1" == "git diff sha1^" ?16:14
thiago_arn there's also the not-widely-known git diff sha1^!16:14
blalor: no16:14
sha1~ == sha1^16:14
"git diff sha1~" compares the current tree to sha1~16:15
"git diff sha1~..sha1" compares sha1~ to sha116:15
blalor isn't that what I typed? doesn't "sha1^" compare the predecessor to sha1 to sha1?16:15
awilkins Squiggle is "-1" ? So is ^ "-1..0" ?16:15
thiago_arn it's not what you typed16:15
saschpe left16:16
thiago_arn no16:16
~ is "first parent"16:16
OOPMan joined16:16
thiago_arn ^ is also "first parent"16:16
~2 is "first parent's first parent"16:16
awilkins Right, so ~ == ^16:16
thiago_arn ^2 is "second parent"16:16
awilkins Erk16:16
thiago_arn and ^! is not ^16:16
ymasory joined16:16
awilkins Excellent, learning things :-)16:16
Jippi joined16:16
blalor goes to soak his head16:17
gebi left16:17
thiago_arn X^! is the same as X~..X (if X has only one parent)16:17
HG` left16:18
kylehayes left16:18
gebi joined16:18
gebi left16:18
gebi joined16:18
awilkins Ah, I thought when you were using ! it was to convey excitement at the not-widely-known-ness :-)16:18
thiago_arn ah, no, sorry16:19
pigdude joined16:19
thiago_arn usually writes them so that it's not ambiguous16:19
thiago_arn apparently I forgot this time16:19
dels left16:19
awilkins Heh.... the pling is not on the community book page about treeishes16:20
friskd joined16:20
thiago_arn awilkins: you can see it in "man git-rev-list"16:20
jast awilkins: the 'git-rev-list' manpage can be found at http://git.or.cz/man/git-rev-list [automatic message]16:20
blalor awilkins: pling?16:20
thiago_arn make that rev-parse16:20
pratz joined16:20
sandbags joined16:21
sandbags left16:21
pratz_ left16:21
sandbags joined16:21
sandbags left16:21
sandbags joined16:21
MattDiPasquale joined16:22
dlistex joined16:23
xelister joined16:25
awilkins blalor, '!' == pling (very old slang we used to use about 25 years ago :-) )16:25
xelister I change tabs/ident format in a file16:25
codespectator left16:26
xelister how to do it so that diff doesnt show like if entire file changed with milion - and milion +16:26
i.e. spaces -> tab conversion16:26
airborn joined16:26
blalor awilkins: guess I'm not that old. I'd call it a "bang"; part of sh-bang (#!)16:26
JonMarkGo joined16:26
roop left16:26
thiago_arn left16:27
JonMarkGo I just did a git reset --hard a2.... to reset back to a previous revision, how do I now commit and push this reverted code?16:27
dtolj Does git honour the http_proxy string? its set but after trying to clone a project it times out unable to connect to socket? I am trying to go thru proxy16:28
kylehayes joined16:28
jaredhoyt[work]jaredhoyt16:29
Schmallon joined16:30
yaotti_awyaotti16:30
radost joined16:31
Joghurt joined16:31
dlistex left16:32
xanderbeedle joined16:33
xanderbeedle Is it possible to interactively squash a merge?16:34
skoop left16:34
ch077179 joined16:35
Zephyrus joined16:38
SegFaultAX joined16:38
friskd left16:39
kalusn joined16:39
SegFaultAX I have to work against an SVN repo, and one of my committers just fucked a file that I had changes to. Now I am getting a merge conflict. How can I rebase to his version and then just manually edit my changes back in?16:39
Shoobdidoo left16:40
rolfb left16:40
SegFaultAX Sorry about the language, 3 days of work just got flushed. :/16:40
apanek-work SegFaultAX: stack your changes, pull his, unstack your changes and merge them16:41
At least that's one way to do it16:42
bauruine joined16:42
icwiener joined16:43
SegFaultAX apanek-work: I can't figure out how to let me merge his stuff in.16:44
carutsu_ joined16:45
SegFaultAX How can I just pull his version/16:45
apanek-work SegFaultAX: Have you committed your changes?16:45
SegFaultAX Yes.16:45
And git svn rebase, now are merge conflict stage.16:45
Now at*16:45
apanek-work SegFaultAX: You could also push your changes to another branch, pull his changes and then merge the two branches in *git*16:46
JonMarkGo left16:46
apanek-work Which is probably way easier than working against the SVN repo directly.16:46
SegFaultAX apanek-work: I am already at the merge stage, how can I just use his version.16:46
apanek-work SegFaultAX: git svn revert or something?16:47
SegFaultAX apanek-work: No. How do I make his file win the conflict?16:47
I don't want to revert the whole rebase. That does me no good, I'll be out of sync with the trunk.16:48
apanek-work SegFaultAX: git mergetool ?16:48
SRabbelier joined16:48
apanek-work Anyways, gotta go - weekend time :P16:48
fedesilva left16:49
abetaha left16:51
radost_ joined16:54
fedesilva joined16:55
diwwin joined16:55
Cogito left16:56
Zhonghua left16:56
radost left16:57
hasrb joined17:00
Angel-SL left17:00
sebbi left17:00
TheFox21 joined17:00
t0rc joined17:01
codespectator joined17:02
nevyn^__ joined17:02
yaottiyaotti_aw17:02
friskd joined17:03
heptadecagram left17:03
nevyn^__ left17:03
nevyn^__ joined17:03
diwwin left17:03
nevyn^_ left17:04
teweWork left17:04
crashanddie left17:05
abetaha joined17:05
ChUrP joined17:08
kalusn left17:08
q0rbanq0rban|lunch17:08
fredmorcos joined17:09
zangetsu left17:09
SianaGearz left17:11
abetaha left17:11
abetaha joined17:13
TheMoonM_ joined17:14
TheMoonMaster left17:15
[Po]lentino joined17:15
hobodave joined17:16
Unknown[OFF]Unknown[NF]17:16
khmarbaise joined17:17
ilogger2 joined17:18
joel_ joined17:18
saysjonathan joined17:19
amerine joined17:21
Fullmoon joined17:21
yhager_ joined17:21
noahcampbell joined17:21
diwwin joined17:24
kpreid_ joined17:26
urkud joined17:27
kpreid_kpreid17:30
kenichi joined17:30
ScottO_ is it possible to merge only a single commit into a feature branch from master?17:30
newls3 joined17:30
jast git cherry-pick17:30
jarrod_ joined17:30
ScottO_ ill look into it thanks17:31
zangetsu joined17:31
diwwin left17:32
shennyg joined17:33
ScottO_ jast: that works the other way around? like if i made the change in my feature branch and wish to merge to the master?17:33
newls3 [rejected] master -> master (non-fast-forward)17:35
davr cherry-pick doesn't merge, it copies the commit17:35
kalusn joined17:35
ScottO_ oh cool17:35
Eiler joined17:35
newls3 To prevent you from losing history, non-fast-forward updates were rejected17:35
jast newls3: http://git.or.cz/gitwiki/GitFaq#non-ff17:35
newls3 thx17:35
dang! that was quick jast17:35
right to the problem17:36
ScottO_ so i should be able to just checkout master and then cherry-pick the commit from the feature branch17:36
davr newls3: it's a very very very common thing to people who are new to git. I almost pasted that link, but he beat me by two seconds :P17:36
newls3 ahh! cool17:36
i just use git for minor heroku pushes and was like wtf!17:36
never seen that with the apps i put up there17:37
learn something new everyday17:37
kalusn left17:37
blalor actually, newls3 & jast: https://git.wiki.kernel.org/index.php/GitFaq#non-ff17:38
the redirect loses the anchor17:38
jast oh? worked for me iirc17:38
yeah, still does17:38
well, lemme change the alias anyway17:38
blalor maybe browser-dependent; Didn't work for me w/ Safari17:38
newls3 New one after I did that17:39
[remote rejected] master -> master (pre-receive hook declined)17:39
looks like I have a sucky commit17:40
jast heroku is some kind of hoster, right? it's something they are doing17:40
newls3 yeah they are a hoster17:40
jast the hook ought to have given a more detailed message somewhere above that line17:41
Anti-X joined17:41
xanderbeedle When doing a merge, is it possible to do an interactive squash, similar to interactive rebase?17:41
jast xanderbeedle: not really. merges are all-or-nothing.17:42
you can use a series of cherry-pick -n invocations17:42
xanderbeedle Fair enough17:42
Is there any kind of reference to the point when a branch was made?17:43
jast or do a merge --squash, then revert individual commits, then use interactive rebase to squash that together17:43
no17:43
xanderbeedle Then, I could interactively rebase my feature branch before merging17:43
jast you can figure out the current merge bases, though17:43
git merge-base -a <branch 1> <branch 2>17:43
kevlarman is there any way to get git-svn to work nicely with an svn repo that has 2 branches at the root (/trunk and /stable), and (annoyingly) a bunch of files outside of those 2 branches?17:45
jast kevlarman: not really17:45
davr yes, if you don't mind ignoring the files outside those two branches17:46
kevlarman well, i do17:46
xanderbeedle jast: so that ancestor will normally be the commit before the branch took place?17:46
jast that's pretty far off common conventions, and it's a bit difficult to support every possible layout17:46
davr are they in another directory outside those two branches, or are they on the same level?17:46
kevlarman but i can use svn for the files outside if it comes to that17:46
jast xanderbeedle: no, it's the most recent thing that both branches have in common, i.e. if you merged in the meantime (squashed merges don't count), it's usually that most recent merge17:46
davr in another directory you can do it (just make it another branch in git, doesn't matter that it has nothing in common with the others), on the same level...I don't know if that's possible17:47
kevlarman davr: both actually17:47
spearce joined17:48
davr you MIGHT be able to make another git branch pointing at the root svn folder, and then tell it to ignore the svn folders that contain the other branches, but I'm not sure if that would work17:48
xanderbeedle jast: in my model, I work in feature branches that get deleted after a merge17:48
i imagine a rebase would throw things out?17:49
aresnick joined17:49
jast xanderbeedle: come again?17:49
varuntv joined17:49
xanderbeedle nevermind, i'm not talking sense :P17:49
jast okay :)17:49
kevlarman davr: switching branches like that would do a ton of damage anyway17:50
davr: how would i get it working with just the 2 branches?17:50
it's not obvious from the man page (-T/-t/-b don't really fit here)17:50
davr create the git-svn repo just pointing at one of the branches, tell it there are no branches or tags. then manually add the second one17:50
jast it might be possible to use -T twice17:51
dreiss joined17:51
kevlarman O_o17:51
foocraft joined17:51
jast i.e. -T branch1 -T branch217:51
khmarbaise_ joined17:52
kevlarman jast: what do the refs look like in that case?17:53
davr for manually adding branches, you basically put in the .gitconfig to map svn paths to git refs17:53
khmarbaise_khmarbaise17:53
davr look at the very bottom of the git-svn help page17:53
jast kevlarman: no idea :) I only know for the case of multiple -b arguments, but that won't work for your case17:54
kipras joined17:54
genomega joined17:54
urkud left17:54
khmarbaise_ joined17:57
kevlarman jast: well git didn't error on 2 -T's17:58
aah joined17:58
kevlarman let's see what happens in an hour or 2 :(17:58
jast good sign :)17:58
khmarbaise left17:59
MikhX joined17:59
khmarbaise_khmarbaise17:59
kevlarman so far it looks like it's only folloing trunk17:59
jast it follows the other one starting from the first revision it appeared in18:00
varuntv left18:00
Luyang joined18:03
khmarbaise_ joined18:03
kevlarman these look weird18:03
$ ls .git/refs/remotes/18:03
trunk trunk@277 trunk@95 trunk@95-- trunk@9718:03
g0bl1n joined18:04
eletuchy joined18:04
fr0sty joined18:05
jast that kind of thing happens if trunk got replaced a bunch of times18:05
marc_kdab joined18:05
kevlarman fetch = stable:refs/remotes/trunk <- and that looks wrong18:05
khmarbaise left18:06
khmarbaise_khmarbaise18:06
varuntv joined18:06
justin-george joined18:06
varuntv left18:06
radost joined18:07
kevlarman and it keeps going back to r1 for some reason18:07
floppyears joined18:08
aresnick left18:08
marc_kdab left18:08
fr0sty left18:08
marc_kdab joined18:09
tro joined18:10
bhosie joined18:10
jast ah well, so the handling of two -T arguments perhaps isn't that good. try changing it to fetch = stable:refs/remotes/stable.18:10
pheaver joined18:11
HG` joined18:12
kevlarman jast: that was the *only* fetch line18:12
jkp joined18:13
khmarbaise left18:13
rolfb joined18:13
rolfb left18:13
jast hmm.18:14
I'd say just make it two fetch lines, but apparently the history is too chaotic for git-svn to grasp anyway18:14
kevlarman yeah this might be annoying18:14
lots of index mismatches fetching the second branch18:15
can't wait for these guys to just switch to git :(18:15
urkud joined18:17
_psychic_ Which is recommended more: gitosis or gitolite?18:17
ShadeHawk joined18:17
mlq_ joined18:18
albel727 _psychic_: gitolite, ofc.18:18
mlq_ left18:19
_psychic_ Kinda seems like a successor to gitosis.18:19
aresnick joined18:19
albel727 _psychic_: gitosis is near dead... no, scratch that, it IS dead. gitolite is kinda (only) successor (that I know of).18:20
_psychic_ i c18:21
cool, thanks albel72718:21
albel727 np =)18:21
blalor what about ges? I tried that earlier today and gave up when the readme failed to get me up and running.18:21
tro left18:21
blalor it SOUNDS interesting…18:21
_psychic_ plans to use gitolite + the chaw for now18:22
kevlarman jast: well, it sort of worked to use 1 -T and add stable afterwards, but i'm kinda worried it won't stay that way18:24
Anti-Xtorvalamo18:25
steph021 joined18:25
mtx_init joined18:25
kevlarman Couldn't find revmap for svn+ssh://svn.example.com/repo/trunk/...18:26
W:unknown path/rev in svn:mergeinfo dirprop: /trunk:9618:26
Found merge parent (svn:mergeinfo prop): 1b53b7532327114a5ad03fcd9d08a7cffddc978718:26
Couldn't find revmap for svn+ssh://svn.example.com/repo/trunk/...18:26
^from fetching the second branch18:26
keystr0k joined18:27
aresnick left18:28
gh34 joined18:29
itamarjp joined18:32
andrewwatts joined18:32
vitor-br joined18:33
t0rc joined18:36
khmarbaise joined18:38
dreiss left18:39
verto joined18:39
marc_kdab left18:41
KU0N joined18:41
pdelgallego joined18:41
hakunin joined18:43
tro joined18:43
kevlarman btw while i'm here, is there anything resembling git-hg that doesn't suck yet?18:44
bronson joined18:44
bronson left18:46
laidback_01 joined18:47
radost_ joined18:48
laidback_01 hey, I'm using gitolite, and I've just about gotten gitweb running with it. I'm at the point where I'm getting a permission denied error "index.cgi: Can't cd to /home/git/repositories: Permission denied, referer: http://coderepo.krh.int/"18:48
drizzd kevlarman: does hg-to-git suck?18:48
laidback_01 now, the perms for that directory: drwx------ 7 git git 7 Dec 10 05:09 repositories18:48
smolyn joined18:48
drizzd wow, it's rather short18:49
laidback_01 so... should I be opening the permissions up a bit? I know that gitolite documentation says not to muck with the directory, but doe that include the perms changes?18:49
drizzd laidback_01: I am guessing your websever is not running as user 'git'?18:50
kevlarman drizzd: i haven't seen that one yet18:50
drizzd kevlarman: it's in contrib/hg-to-git18:50
but I don't know more about it either18:50
laidback_01 drizzd, nope, it's as www, but I forgot about changing this in the .gitolite.rc -> $REPO_UMASK = 0027; # gets you 'rwxr-x---'18:51
radost left18:51
radost_ left18:51
laidback_01 seems like I'll have to manually change the perms to match that mask. that's fine then.18:51
bremner laidback_01: yeah, you need to open up the permissions for gitweb18:51
laidback_01 :q!18:51
kevlarman drizzd: does it work in both directions?18:51
Vortex34 joined18:51
drizzd kevlarman: I just skipped through the docs, but I doubt it18:51
kevlarman then it won't work for me18:52
drizzd kevlarman: maybe hg has the corresponding git-to-hg?18:52
dvaske joined18:53
kevlarman drizzd: there's hg-git, but import scripts don't work for actual daily use18:53
muep joined18:53
giallu joined18:53
tro left18:54
kevlarman (hg-git is a bit more than that, but using it in place of git-hg is painful at best)18:54
kpreid left18:54
jtaby joined18:54
urkud left18:55
thiago_arn joined18:55
jrmuizel joined18:57
thiago_arn left18:59
thiago_arn joined18:59
thiago_arnthiago_home18:59
jkp left18:59
skoop joined19:00
skoop left19:00
skoop joined19:00
andrewwatts left19:00
Heimidal joined19:01
dnordstrom joined19:01
dreiss joined19:01
sh1mmer joined19:02
gbacon_ joined19:04
Cromulent joined19:05
eletuchy left19:05
foocraft left19:05
Evious joined19:06
carutsu_ joined19:07
khmarbaise_ joined19:08
urkud joined19:09
nicoulaj joined19:09
khmarbaise left19:09
khmarbaise_khmarbaise19:09
kalusn joined19:09
foocraft joined19:11
dbrock joined19:11
carutsu_ left19:12
ChanServ set mode: +v19:13
dbrock is it possible to tell git to ignore future changes to a file that is already in the repository?19:13
carutsu_ joined19:14
kevlarman dbrock: no19:14
dbrock kevlarman: okay, thanks19:14
(the reason I ask is that I wanted to add an example configuration file so that people get it when they clone, but changes are ignored)19:14
proycon joined19:14
zhobbs joined19:14
HG` left19:15
DrNick git mv config config.example19:15
thiago_home left19:16
dbrock DrNick: yeah, that's what I just did :)19:16
simple and good solution19:16
tro joined19:16
thiago_home joined19:16
doener joined19:17
Cromulent left19:17
tvw joined19:18
shentino joined19:18
shentino left19:18
shentino joined19:18
andyburke joined19:18
samlt joined19:19
carutsu_ left19:19
henrikbjorn joined19:20
mdpatrick joined19:20
dark joined19:20
jshsu joined19:21
ScottO_ isn't cherry-picker a derogatory term?19:21
dark does git 1.7.3.3 have support for aliases running on the current dir? (I'm using a patched 1.7.3.2 for that)19:21
samlt left19:21
thiago_home left19:22
khmarbaise left19:22
petran joined19:22
davr ScottO_: the only other way i've ever heard it used is that machine with a little basket that you sit in that raises you up19:23
ScottO_ oh maybe im thinking about some other fruit picker19:24
mdpatrick left19:24
mdpatrick joined19:26
torvalamo left19:26
thiago_home joined19:26
Rai joined19:27
Yuffster joined19:27
GodEater joined19:30
GodEater left19:30
GodEater joined19:30
HrznDefeated joined19:31
eletuchy joined19:32
mattz_ joined19:33
smolyn left19:33
carutsu_ joined19:33
ChanServ set mode: +v19:33
HrznDefeated Is anyone familiar with the svn-to-git php script/tool?19:33
torvalamo joined19:33
bremner yikes.19:34
kalusn left19:34
HrznDefeated Yikes? Scary script?19:34
kalusn joined19:34
bremner well, what does it do that git-svn does not?19:34
HrznDefeated Well it uses git-svn...19:35
mkramer joined19:35
HrznDefeated I guess it does some analysis for you and also helps in identifying branches (and making the correct choice) on repositories that are not vanilla19:35
afk- bbl19:36
eletuchy left19:37
newls3 left19:38
jarrod_ left19:38
proycon I have a git repository (cloned from github), and a svn repository (central work repository). I want to sync this git repository with svn, in such a way that I can read and write from/to both github and svn. I don't mind doing this manually, my local working copy is to be the proxy. Is this possible?19:38
cause I've been fiddling for hours without much luck :/19:39
kevlarman proycon: there's an example of how to get that working in the git-svn man page19:40
dbrock left19:40
proycon there is?19:40
hmm19:40
mfacenet joined19:40
mfacenet left19:40
mfacenet joined19:40
proycon can't really see it,, the problem is that I want to sync with a remote git repository and a remote svn19:42
robotarmy joined19:42
kevlarman proycon: see the basic examples section19:42
proycon ok, I'm looking at it now19:43
thanks19:43
hmm, from what I see it doesn't really cover what I want19:45
patrikf proycon: what you want is not exactly the most intelligent setup19:46
proycon what would be a better recommendation?19:46
I basically want to use github, and my work's internal svn19:46
patrikf choose either git OR svn19:46
proycon and I want to use git19:46
kevlarman proycon: the last example is *exactly* your use case19:46
skoop left19:47
hohoho joined19:47
patrikf you can work on SVN repos using git, but as soon as you're publishing the git repo you're in trouble19:47
proycon hmm, yes, that's the trouble I find myself in yes19:47
bremner proycon: here is an example of where I do something similar, but read-only access to svn http://paste.debian.net/102071/19:47
proycon bremner: thanks19:48
kevlarman patrikf: it works fine as long as you don't publish anything that isn't in svn yet19:48
bremner proycon: basically, I clone the git repo, then do some easy magic to get git-svn connected to a branch again19:48
proycon I do want people to be able to commit to svn too19:48
I'll just have to sync it then, that's ok19:49
patrikf kevlarman: right... but doesn't render that publishing the git repo useless?19:49
carutsu_ left19:49
patrikf s/render that/that render/19:49
proycon and I also want people to be able to use github (both for reading and writing)19:49
I'm still studying that that last example19:50
kevlarman patrikf: you can still publish branches off of it19:50
and the main benefit is other people not having to git svn clone again19:50
bremner proycon: I don't see why commiting to svn wouldn't work in my case, I just haven't done it.19:50
troutwine joined19:50
kar8nga joined19:51
proycon let me see if I get your snippet19:51
kenichi left19:53
rsewill joined19:54
marc_kdab joined19:54
pedrobelo joined19:54
pdelgallego left19:54
rsewill left19:55
ablemike joined19:55
ablemike hi all. looking for the best way to do this and I am not certain of the terms i should be searching for.19:55
rsewill joined19:55
ablemike I would like to step back and forth through revisions without creating branches19:56
almost like checking out the hash19:56
sha-1 i mean19:56
robotarmy left19:56
ablemike whats the best way to do this?19:56
itamarjp left19:56
andrewwatts joined19:56
patrikf ablemike: "git checkout <hash>"19:57
proycon bremner: hmm, no luck yet19:57
git svn info -> Unable to determine upstream SVN information from working tree history19:57
that is if I do a git svn info after your commands19:57
ablemike patrikf: i know i can do that19:57
proycon I should do a fetch first perhaps19:57
ablemike but i have to look up the hash everytime19:57
bremner proycon: you have to start with a valid git-svn repo19:57
proycon ah ok, I started from the github clone19:58
that makes sense yeah19:58
patrikf ablemike: you can use any of the methods listed in man git-rev-parse19:58
jast ablemike: the 'git-rev-parse' manpage can be found at http://git.or.cz/man/git-rev-parse [automatic message]19:58
andrewwatts left19:58
proycon trying again19:58
itamarjp joined19:59
shennyg_ joined19:59
andrewwatts joined19:59
SimManiac joined19:59
SimManiac hi19:59
codespectator joined20:00
mkramer left20:00
shennyg left20:01
shennyg_shennyg20:01
ablemike patrikf: thanks but still a little fuzzy :)20:02
i know how to list the revisions20:02
I guess I was hoping for a shortcut to typing the sha-1 each time20:02
itamarjp left20:03
gbacon_ left20:03
proycon bremner: ok, and now I can add the github remote in the normal way?20:04
pantsman joined20:04
pantsman left20:04
pantsman joined20:04
ablemike proycon git remote add something_here git@github....20:05
patrikf ablemike: yes. it's all in that manpage, in the "specifying revisions" section, especially "~" and "^" should be of use to you20:05
beatak joined20:05
ablemike something_here would be your identifier20:05
proycon yeah20:06
that part I know20:06
ablemike patrikf: putting on glasses and looking closer ...20:06
mkramer joined20:06
mkramer left20:06
ablemike so wait ... i could do like: git checkout master-1 ?20:07
or git checkout master@{5}20:08
codespectator left20:08
kevlarman ablemike: git checkout master~5 is probably what you want20:10
master@{5} is the state of master 5 changes ago, which won't be what you expect after something like a reset or rebase20:11
ablemike yeah i grok!20:11
awesome20:11
@{5} was more like a pure path of master and not the merges20:12
digitalfiz joined20:12
kevlarman ~ always follows the first parent btw20:12
hohoho left20:12
smolyn joined20:12
kevlarman master^1/master^/master~1 are all equivalent, master^2 will be the second parent, etc.20:12
charon ablemike: no you don't understand. master~5 means "5 first-parents back from current master". OTOH master@{5} means "5 steps back of what you did to your *local* master". see man git-reflog for the latter mechanism20:13
jast ablemike: the 'git-reflog' manpage can be found at http://git.or.cz/man/git-reflog [automatic message]20:13
mtx_init left20:13
hasrb joined20:14
ablemike 's head is swimming20:14
kevlarman is jast the new gitbot or something? :P20:14
jast I'm filling in :)20:14
charon kevlarman: also, but the real jast is still there.20:14
bluegene joined20:14
bluegene left20:15
charon ablemike: to put that in some real context: assume you have no local changes of any sort in your repo, and run 'git fetch && git merge origin/master' (or equivalently 'git pull') after a while20:16
mfacenet left20:16
charon ablemike: this would usually (if upstream behaved) result in a fast-forward merge20:16
ablemike right20:16
single line20:16
charon suppose this fast-forward was of linear history, and gave you 5 new commits20:16
now master~5 is 5 steps back from the new state, i.e., your old state20:17
ablemike ok20:17
but if there was a branch20:17
and it had 5 commits20:17
and merged in20:17
charon OTOH master~3 is a commit that you never had checked in your repo20:17
ablemike wait20:18
charon furthermore master@{1} is "the previous state of the local master", which would be master before the merge20:18
ablemike holyshit i am so lost20:18
charon argh, i'm losing words20:18
mtx_init joined20:18
ablemike lol20:18
charon <charon> OTOH master~3 is a commit that you never had checked *out* in your repo20:18
robotarmy joined20:18
DaveIngram joined20:19
charon read http://marklodato.github.com/visual-git-guide/index-en.html if you still don't understand what ~ does20:19
sako joined20:19
hasrb left20:20
blalor git a complex beast, but the diagrams are the best I've ever seen for an SCM20:20
hasrb joined20:21
charon i'd go further and say git is a very simple data model hiding under an unfortunately very complex UI20:21
blalor or that20:21
bdesk joined20:21
kevlarman it's not that complex, it just exposes a lot more of its low level guts to those who want it than other scms20:21
charon most of the diagrams are of the data model, hence simple ;)20:22
jackdempsey joined20:22
pdelgallego joined20:22
bdesk if i want to make a repo on a server, and i want to allow everyone with an account on the server to have read and write access, then what is the best way to set this up?20:22
kevlarman bdesk: best way is not to use accounts20:23
robotarmy left20:23
bdesk kevlarman: everyone connected to the project already has an account on the server...20:23
banjiewen joined20:23
charon bdesk: ... but gitolite. second best way is to read the description of core.sharedRepository in man git-config20:23
jast bdesk: the 'git-config' manpage can be found at http://git.or.cz/man/git-config [automatic message]20:23
mfacenet joined20:23
mfacenet left20:23
mfacenet joined20:23
bdesk kevlarman: are you going to suggest gitolite or somethingn instead?20:23
bluegene joined20:23
bluegene left20:23
bluegene joined20:23
bluegene left20:23
kevlarman bdesk: yes, and charon beat me to the second best way20:24
charon creeps back under his rock20:24
proycon bremner: Your 'git show-ref origin' yields an empty string here, I don't think it's supposed to right?20:24
bdesk kevlarman: ok well i am too sucky of a sysadmin to do gitolite so maybe i'll try the second way20:25
Buglouse joined20:25
kevlarman bdesk: the second way is more work20:25
bluegene joined20:25
bdesk ...20:25
then i'll just make everything globally read-write and the users can clone directly using ssh i guess?20:26
bdesk: man git-config20:26
jast bdesk: the 'git-config' manpage can be found at http://git.or.cz/man/git-config [automatic message]20:26
bdesk lol20:26
kevlarman the issue is files not staying world writable20:27
icwiener joined20:27
bdesk so you are saying that gitolite is the easiest way other than paying some git hosting company?20:27
gitolite has soooo much documentation and i don't know how to linux ;_;20:27
bremner proycon: the concept is you have already pushed that branch, and you are cloning somewhere else. So origin/blah should exist at that point.20:28
jpitts joined20:28
jast well, just init your repositories on the server with git init --bare --shared=all20:28
all done!20:28
jpitts left20:28
proycon bremner: ah wait, I first pull github and then do those things?.. that makes sense yeah20:28
bdesk jast: thanks i'll try that. not sure if you're being sarcastic but i'm assuming not20:28
jpitts joined20:29
jast try it and you'll see :)20:29
eean bdesk: yea you might want to use gitorious or something if you are using linux as a verb :D20:29
bdesk gitorious is easier?20:29
jast yeah, well, I gotta go. got some linuxin' to do. :P20:29
gitorious hosts open source stuff for you for free20:29
bdesk o20:29
jast as do repo.or.cz and github.com20:29
eean as does github20:29
bdesk well i'm using github but now i need something private20:30
and i have a server20:30
jast right. in that case, just follow my elaborate recipe.20:30
eean github is pretty cheap for small stuff20:30
bdesk i'm not gonna get addicted to the github crack20:30
Saviq joined20:31
cstephens4 joined20:32
ChanServ set mode: +v20:32
yhager_ left20:33
jpitts if i want to track a svn repo with git svn, and I have multiple folders for branches and tags ( horrible, I know ) do I have any options WRT getting them all into a git repo?20:33
jast jpitts: you can use -b and -t multiple times on the intial command line20:33
henrikbjorn left20:35
jpitts oh hey it even say that, under the stdlayout section, which I was ignoring because I was convinced mine wasnt :) thanks20:35
proycon bremner: hmm... still no luck, am I doing something wrong still? http://pastebin.com/9DSiffg620:35
troutwine Is this the proper channel to ask questions about gitosis issues?20:36
keystr0k left20:38
jast troutwine: yes, but gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite20:38
bremner proycon: "github" is a remote; in my case "origin/sourceforge" is a branch20:38
proycon ah ok, so I first sync the remote into a branch20:38
thanks, will give that a try20:38
laidback_01 bdesk, hey, I just used this setup last night and yesterday. Between this and sitaram's documentation, gitolite came together well. I stopped after I got giolite and gitweb working correctly - no need for me to use svn and/or trac. http://blog.august8.net/2010/11/03/gitolite-with-svntrac-repositories/20:39
jpitts left20:39
bdesk laidback_01: ty20:40
laidback_01 that recipe is for debian based setups, but it's easy to adapt - I used it for gitolite installation on freebsd without issue.20:40
yep20:40
SianaGearz joined20:41
jarrod_ joined20:42
MattDiPasquale joined20:43
thelazydeveloper joined20:44
dl9pf_ joined20:45
mintry_ joined20:45
jhaddad joined20:46
LRN joined20:47
torvalamo left20:50
jackdempsey left20:51
FabianB_ joined20:52
mintry_ left20:53
troutwine jast: I did not know that. Thank you.20:53
torvalamo joined20:55
mc1 joined20:56
jshsu left20:57
jshsu joined20:57
mc1 left20:58
HrznDefeated Hello, I'm trying to clone an SVN repository into Git (with the intent to migrate from SVN to Git). I seem to be having some trouble getting git-svn to work. I've done it exactly how it suggests in the "Pro Git" (and a couple other ways) but I either get errors or it just stops doing the conversion with several revisions left to go.20:58
LRN left20:59
HrznDefeated What kind of resources are available to help with more difficult migrations? (Links? Experts?)20:59
Luyang left20:59
HrznDefeated Google has been a run around for me so far...21:00
charon HrznDefeated: most likely a pastebin of your actual errors would be far more helpful than generic questions21:01
also, see how new your git is21:01
LRN joined21:02
piotr joined21:02
fredmorcos joined21:02
HrznDefeated charon: Got an error I'll send right over (revmap related?). But I am also interested in just general resources...21:03
linusoleander joined21:03
Chillance joined21:05
charon i wrote this one some time ago: http://thomasrast.ch/git/git-svn-conversion.html21:06
benjf joined21:07
HrznDefeated Reading it now21:08
mmw joined21:09
charon however, git-svn is still the centerpiece (for now...) so if that fails, you have to fix the failure first :)21:10
tangledhelix i have a submodule inside a repository and i wanted to fetch it from a new url. i removed its entry in .gitmodules, but now it complains no matter what i do, and i can't 'git submodule add' the new URL, it says it already exists. i don't see anything like 'git submodule rm' in the help. any suggestions?21:12
Eridius joined21:12
SethRobertson `git rm` the old submodule mount point. YOu might have to `git rm --cached`21:12
tangledhelix: Are you happy with submodules or can I promote an alternative?21:13
tangledhelix i've been happy so far, but i'm listening21:13
(context: i use this for vim plugins)21:13
SethRobertson Oh, I think I have already promoted gitslave to you (or someone else who is using git with vim plugins)21:14
tangledhelix must have been someone else21:14
SethRobertson gitslave (http://gitslave.sf.net) is useful when you control and develop on the subprojects at more of less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc all repositories at the same time.21:14
For you it would trade being able to quickly and trivially get up to the top of all of the vim plugins with having an add-on command21:15
tangledhelix i'll bookmark that and check it out. in this case though, these are other people's code mostly, not stuff i develop on21:15
cstephens4 left21:16
mmc joined21:16
tangledhelix SethRobertson: the only reason i keep them as submodules is so i can fetch changes from the master if the author updates21:16
SethRobertson: but gitslave may come in handy on other projects. thanks! also, git rm did exactly what i needed21:16
SethRobertson Right, so you would be able to say `gits pull` and have everything come up to the latest commit21:16
tangledhelix ah ok. that does sound useful21:17
przemoc joined21:19
Luyang joined21:20
chrischambers joined21:21
bcardarella joined21:21
joel_ left21:21
mmc left21:22
icwiener_ joined21:22
proycon left21:23
HG` joined21:23
drizzd_ joined21:24
lightcap joined21:24
juanjoc joined21:24
icwiener left21:24
icwiener_ left21:26
monkeytail joined21:26
monkeytail is it possible to clone only a specific file from a github project21:27
stringlau joined21:27
LRN left21:27
bdesk monkeytail: i think git is not really file-oriented21:27
foo joined21:28
monkeytail bdesk: how would you handle it?21:28
dreiss left21:29
foo I am trying to remove a dir so git doesn't track it with git reset the/dir/not/to/track - but I get this error: fatal: Failed to resolve 'HEAD' as a valid ref. - hmm, thoughts? I just did git add . - do I need to git commit -a -m ?21:29
monkeytail clone the entire rep and delete the not wanted dirs and fiels?21:29
itamarjp joined21:29
bdesk monkeytail: yeah i would clone the repo and then just pick out the file i want21:29
cehteh monkeytail: clone entire repo but only check that file out21:29
ChanServ set mode: +v21:29
stringlau I cloned from git using plain git:// command, now I want to push something so I need ssh authentication (I already have an account in the remote git), is there a way to reconfigure my local git folder so it behaves as if I cloned it using ssh://username@... ?21:29
cehteh you can do a shallow clone if thats ok for you21:30
Warning- joined21:30
monkeytail cehteh: ah.. i'll try that21:30
boombatower joined21:30
boombatower left21:30
boombatower joined21:30
LRN joined21:31
HrznDefeated charon: still working on that output.21:31
Arrowmaster stringlau: just edit .git/config and change it21:32
HrznDefeated charon: So general question-- is git-svn usually a one shot run (run once and the whole repo smoothly comes in?)? Be it right or wrong it appears that I do a "git svn fetch" and then if goes through several SVN revs and then quits. I then run again ("git svn fetch") and it does several more revs and quits.21:33
and I can repeat this process several times21:33
charon HrznDefeated: and that's with git 1.7.x?21:33
i dimly recall some bugs along those lines21:33
but yes it's supposed to do it all in one go21:34
Warning- left21:34
HrznDefeated Yeah I'm running version 1.7.3.1.msysgit.021:34
tewecske joined21:35
HrznDefeated One go- that's what I thought... hmmm21:35
Luyang HrznDefeated: how to update Git for windows (!=msysgit)21:35
HrznDefeated huh?21:35
dark left21:35
HrznDefeated I should not use msysgit?21:35
mmc joined21:35
monkeytail left21:35
charon you absolutely should. (well, you should be using ordinary git on a real OS, but that's not a useful answer most of the time)21:36
HrznDefeated What's the alternative? cygwin is painful21:36
bdesk lunix21:36
HrznDefeated charon: Yeah my hands are tied21:36
Luyang wow git svn initial clone really takes time21:37
mmattice it pulls every revision, yeah, it takes a while21:37
charon HrznDefeated: then again (as i even noted in my little writeup) i heard rumours of windows-only problems, and then there's the performance issue, so even linux in a VM may be better than straight msysgit for large git-svn operations21:37
HrznDefeated charon: Hmm...21:38
mrico joined21:38
HrznDefeated Well I don't have a linux box handy but I'll think about that for a minute.21:39
On another note:21:39
bluegene left21:39
Luyang left21:40
HrznDefeated Our svn repo is a bit messy. Roughly 7500 commits and there are several projects (8-10 at least) in the one repo. Is there a recommended way to migrate? I mean should I be looking to create a git repo for each project? If so how do I make several git repos out of one svn...21:40
alberto56 joined21:40
Arrowmaster hehe charon knows all about that kinda mess21:41
SethRobertson It would be best if you split projects into their own repo, I think the concensus would be21:41
bluegene joined21:41
HrznDefeated Makes sense as an end result.. but how do I get there?21:41
alberto56 left21:42
SethRobertson You could convert to git and then (assuming each project was in its own directory tree) use git-filter-tree on copies to remove the other projects21:42
jtaby left21:42
SethRobertson Are the projects related? Meaning are there dependencies on each other?21:42
HrznDefeated I see. Create several clones and then filter each clone so that it becomes specialized?21:42
jtaby joined21:42
SethRobertson HrznDefeated: Yes21:42
linusoleander left21:43
Arrowmaster you can also run git-svn multiple times and point it to different locations on the svn repo21:43
Fullmoon left21:43
Arrowmaster multiple times i mean in multiple repos21:44
HrznDefeated Seth- for the most part no. Except there are a couple of tangled projects for example we have a product that has a 2d and a 3d version. They share a bunch of code but then have exclusive code. In svn one is branch.. but which one is called the master in an individual repo??21:44
SethRobertson Even with the bizarre tag/branch/head directory tree of SVN? I didn't know that21:44
Squarism joined21:44
mrico left21:44
SethRobertson Oh, so the different projects are on different branches, not just different directory trees? That is...more problematic.21:45
HrznDefeated Arrow- so I would then run git-svn once for each individual project to create its own git repo directly from the svn?21:45
LRN left21:45
SethRobertson No, now that I think of it, untangling that in git isn't hard after all. You just make two clones as before, delete the unwanted branch, and if necessary rename the left-over branch back to master.21:46
HrznDefeated Seth- for example in the svn, One project is called VC2D and is located at /trunk/VC2D and the other is called VC3D and branched from VC2D and is located at /trunk/VC3D21:46
LRN joined21:46
dvaske left21:46
kvonh joined21:47
SethRobertson That is fine, then. Unless you want to preserve the branched relationship so that fixes in one can be merged back and forth21:47
HrznDefeated We do want to preserve that21:47
Since they are both in active development21:47
SethRobertson Then you do not want to split those into different repos21:47
HrznDefeated And have common code21:47
SethRobertson The common code could, in theory, be a third repo and then use submodules or gitslave to create a superproject21:48
HrznDefeated Ok so, same repo. Now what about the master/branch business?21:48
yhager_ joined21:48
HrznDefeated Good point but it probably isn't modular enough for that...21:48
Pausenbrot joined21:48
ablemike left21:48
SethRobertson What about it? the /trunk/ thing doesn't imply branches21:49
andrewwatts_ joined21:49
HrznDefeated Right so in the new git repo-- VC2D would be the master and VC3D would be a branch? Even though both are under active development and being released periodically?21:49
SethRobertson No, they would be different directories, just like they are now. Could you convert them so that they were on different branches? Umm. I have to believe so, but it would be a bit tricky21:50
andrewwatts left21:50
andrewwatts_andrewwatts21:50
bdesk left21:51
HrznDefeated In SVN we regularly merge between the two branches (VC2D and VC3D)21:51
SethRobertson If they are branches now they will remain branches when converted to git.21:52
But /trunk/ doesn't imply branches. /branches/ implies branches21:53
sh1mmer left21:53
HrznDefeated Yes that's confusing21:53
SethRobertson If you are using svn to *pretend* they are branches are merge different directories to each other, git doesn't do that.21:53
If you are using a non-standard disk layout, well your conversion task may be challenging21:53
HrznDefeated So I guess what we did was this... In SVN we had /trunk/VC2D and we branched and put the branch at /trunk/VC3D perhaps reasoning that this was a new offshoot that would be shipping and would eventually replace the VC2D.21:55
SethRobertson However, if they are currently not branches and you want to turn them into branches, there is a way forward. However, the common code would have to exist on both branches.21:55
HrznDefeated So we should have put that branch at /branches/VC3D instead?21:55
SethRobertson That is the "standard" subversion naming scheme, yes.21:55
But as I said, if you cannot fix this post-facto in subversion, you can fix it in git with sufficient effort21:56
troutwine My new gitolite installation is prompting for a password post gl-setup, but none of the suggestions in the troubleshooting guide help. Would someone be so kind as to debug this issue with me?21:57
HrznDefeated SethRobertson- yes I see that was an error. So we will have to work around that I guess21:57
SethRobertson However, the trick is going to be to ensure that the two subversion "branches" are full merged before you convert to git, so that we can instruct git to forge a fake merge so that future changes will be from that base21:57
kevlarman troutwine: make sure the permissions on .ssh are correct21:57
troutwine kevlarman: They are, on both server and client. "drwx------"21:58
Schmallon joined21:58
HrznDefeated Seth- you would not recommend migrating before pending merges are completed? Or just in this special case of trunk confusion?21:59
Pausenbrot left21:59
juanjoc left22:00
SethRobertson Well, certainly with "classic" subversion I would strongly suggest finishing any merges due to its inability to record merges properly and thus not being able to tell git about the merges. Whether more recent subversions (e.g. 1.5 and newer) that have better merge support record sufficient information I cannot say.22:00
troutwine kevlarman: That was covered in the troubleshooting document: http://goo.gl/rzLey22:01
SethRobertson The safest option is to finish the merge, certainly, or at least to do some test conversions to see how it works. You should do test conversions no matter what, and try to script the entire conversion process22:01
otzi joined22:02
mfacenet left22:02
kevlarman troutwine: see if ssh's logs have anything to say about why it's rejecting your key22:02
Schmallon left22:02
Arrowmaster use ssh -vvv and see if its even trying to use your key22:03
TheMoonMaster joined22:03
kar8nga left22:03
Cogito joined22:03
HrznDefeated Seth- Thanks for the advice. Unfortunately we may be months out from finishing the merges22:03
What exactly needs scripting in the conversion process?22:04
troutwine is getting a lot of ssh login attempts. :/22:05
troutwine kevlarman: Ah, the account is locked.22:05
Arrowmaster: It is.22:05
D'oh.22:05
nkuttler joined22:05
chessguy joined22:09
martinciu joined22:09
fredmorcos left22:09
troutwine Well, I unlocked the git account. Still no luck and nothing in auth.log to go on.22:09
v0n joined22:09
HrznDefeated Seth: Any thoughts on what needs scripting (as you mentioned) in the SVN -> Git process?22:10
nkuttler when I "git svn init" + "git svn fetch -r foo" I get "fatal: refs/remotes/trunk: not a valid SHA1". any clues? when i fetch witout specifying a revision there is no problem (except that the fetch takes hours). v1.7.3.322:11
troutwine kevlarman, Arrowmaster: The gitolite user clearly has my public key in its authorized_keys.22:12
kevlarman troutwine: and you're trying to run a command that authorized_keys allows?22:12
martinciu left22:14
ahammond joined22:14
troutwine kevlarman: I assume. The authorized_keys were created by gitolite, but the command is gl-auth-command and I'm attempting to clone the admin respository as suggested in the installation instructions.22:14
ChanServ set mode: +v22:14
martinciu joined22:15
ahammond hi, I have some changes in master that I shelved and would like to move to a branch "serial", how do I do that please?22:15
kevlarman troutwine: try ssh -vvv gl-auth-command as Arrowmaster suggested22:15
yhager_ left22:16
SethRobertson HrznDefeated: The entire process from the initial conversion to the clones, the `git filter-tree`s, etc.22:16
Do it manually writing down each step and then retry from scratch once you did it manually using the script22:16
troutwine kevlarman: https://gist.github.com/73691822:17
bdiu joined22:17
ThiefMaster joined22:17
HrznDefeated Seth: So the main script value being in the filter portion (after everything is in git)22:17
kevlarman troutwine: well there you go22:17
your key isn't in openssh format22:17
nkuttler hm. the revision i tried to fetch was a git svn tag. i can checkout the previous revision without problems. go figure..22:18
troutwine kevlarman: Oh, you're right. My eyes skipped that. That makes, though. I'm using that same key to login to the system as my own user.22:18
Rather, "That makes no sense, though. I'm..."22:19
Arrowmaster are you using windows?22:19
troutwine Linux.22:19
vitor-br left22:19
martinciu left22:19
troutwine I scp'ed my ~/.ssh/id_rsa.pub over to the system's /tmp when installing gitolite, as per the instructions.22:20
kvonh left22:20
eletuchy joined22:20
bdiu left22:20
pratz_ joined22:20
kevlarman troutwine: ssh is complaining about your local key22:21
not the remote one22:21
troutwine Yeah. I'll generate a new one.22:21
kevlarman sshd refuses to give any information about why it's failing as a security feature22:21
troutwine Makes sense.22:22
martinciu joined22:22
troutwine How could I have created a non-openssh key using openssh's ssh-keygen?22:22
ahammond how do I move a stash between branches?22:23
kevlarman ahammond: apply it on top of your new branch22:23
ahammond kevlarman: so I do git checkout newbranch; git stash pop?22:23
kevlarman yeah more or less22:23
i'd use apply to keep it around until you make sure you got the results you expected22:24
khaije|amalt a couple questions, if i commit a file from outside of the working directory, what path does it have? also is it possible to specify the path a/o the branch it should commit to?22:24
ahammond kevlarman: thanks!22:24
vitor-br joined22:25
Arrowmaster khaije|amalt: you cant commit a file outside the working directory22:25
khaije|amalt Arrowmaster: git --git-dir path/.git --bare commit -m "from anywhere"22:25
paradigm joined22:26
Arrowmaster try it and see22:26
i bet it blows up spectacularly22:27
HG` left22:27
ahammond kevlarman: I'm getting "no valid stashed state found". The stash seems to be tied to the branch.22:27
khaije|amalt ? i just did, there wasn't any apparent problem22:27
Arrowmaster well you only commited what was already in the index, did you try adding to the index like that?22:28
sonnym joined22:29
SethRobertson HrznDefeated: The main benefit is repeatability without errors, so that you can do test conversions to fine tune everything and see if, for example, you need to finish up the merges before you do the real conversion.22:29
khaije|amalt Arrowmaster: yup, same prefix with an : add somefile22:30
troutwine kevlarman: I generated a new ssh key. Still no dice.22:31
eijk_ joined22:31
yhager_ joined22:31
coderdad joined22:32
eijk_ Hi! How do I configure a certain branch to always allow forced pushes to origin?22:32
troutwine kevlarman: Again, not an RSA1 keyfile. Ergh.22:32
lightcap left22:34
hyperair joined22:34
matthijs joined22:34
kevlarman troutwine: pastebin the public half22:34
Saviq left22:35
yhager_ left22:35
troutwine kevlarman: https://gist.github.com/736918#file_id_rsa.pub22:35
fredmorcos joined22:35
sh1mmer joined22:36
kevlarman troutwine: and id_rsa looks similar?22:36
(except about 4x as long)22:36
troutwine kevlarman: Yep.22:36
And, again, I _can_ use the above public key to login to my user on the same system. No problem.22:37
kevlarman any idea where the -----BEGIN comes from?22:37
troutwine kevlarman: None.22:38
strixv joined22:40
troutwine kevlarman: Okay, well, thank you for the help. I have to be off, I'm afraid.22:40
troutwine left22:40
martinciu left22:40
charon HrznDefeated: sorry, was away for a while. do you still need help?22:41
Squarism left22:42
HrznDefeated charon: Yes but I'm not sure what question to ask just yet. Thanks22:44
Pupeno joined22:44
redondos joined22:44
doener left22:44
SethRobertson inkedmn: ping?22:46
ahammond kevlarman: git checkout -b new_branch solved my problem22:47
TheMoonMaster left22:47
martinciu joined22:48
HrznDefeated Seth: I understand about the value of repeatability with the scripting. It seems like most of the scripting would be massaging the repo once it's already in git, is that correct? Or can the script be of value in the "git svn fetch" portion?22:48
SethRobertson HrznDefeated: Oh sure, for instance, if subsequent svn activities occur before the conversion process is completely specified. eg. if you decide to finish the merge process before final conversion would be one example22:50
martinciu left22:51
SethRobertson But it is of course your code.22:52
martinciu joined22:52
Mage joined22:54
Tianon joined22:55
Tianon left22:55
Tianon joined22:55
kpreid joined22:58
ivan joined22:58
bcardarella left22:59
dreiss joined23:00
nadavoid joined23:00
Tianon left23:01
eletuchy left23:01
Exposure joined23:01
Tianon joined23:02
Tianon left23:02
Tianon joined23:02
ft joined23:04
ReinH joined23:05
HrznDefeated left23:08
HrznDefeated joined23:08
alberto56 joined23:09
bhosie left23:09
bdiu joined23:09
g0 joined23:09
Linc joined23:10
gilaniali joined23:12
pantsman left23:13
mmw left23:14
shentino left23:14
thiago_home left23:14
SimManiac left23:16
aahhim23:17
himus23:18
usdougbarn23:19
dougbarnaah23:19
bdiu left23:20
quadz joined23:20
matthijs left23:21
mmc left23:24
shennyg left23:25
tchan joined23:25
zombor joined23:27
bdiu joined23:28
nicoulaj left23:28
strk joined23:30
nd___ joined23:30
strk so, we found git clean not removing dirs with no write permissions23:31
that's with -xdf flags23:31
any idea how to force force force ?23:31
MattDiPasquale left23:31
g0 left23:31
bremner strk: fix your permissions?23:31
mmc joined23:32
bremner e.g. with chmod -R on unixy things23:32
strk thanks :/23:32
I know how to fix permissions23:32
bremner you wouldn't believe how many people dont :)23:32
Heimidal left23:32
bremner so what's your proposal, that get sets the write permission on the containing directory?23:33
s/get/git/23:33
jhaddad left23:35
jhaddad_ joined23:35
jhaddad_ left23:35
jhaddad joined23:36
Cogito left23:36
jhaddad left23:38
jhaddad joined23:38
g0bl1n left23:40
jrmuizel left23:40
jhaddad left23:40
jhaddad joined23:41
aresnick joined23:43
gilaniali left23:44
ChanServ set mode: +v23:48
HrznDefeated hmm23:48
carutsu_ joined23:49
joshsmith joined23:50
eletuchy joined23:50
rsewill left23:51
wipple joined23:52
guardian joined23:53
MikhX left23:54
eletuchy left23:54
bdiu left23:58
tuxillo joined23:59
tuxillo hi23:59
GodEater left23:59
tuxillo how do I see the commits introduced by a merge?23:59

Logs Search ←Prev date Next date→ Channels Documentation