IRCloggy #git 2009-09-28

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.

2009-09-28

frede left00:00
vvsh left00:01
Bass10 joined00:03
Bass10 left00:04
g0bl1n joined00:04
Bass10 joined00:05
j416 left00:05
g0bl1n left00:05
krunk- joined00:09
krunk- can you dcommit a single directory? like git svn dcommit <directory_name> rather than a whole project?00:09
ajonat joined00:10
offby1 doubt it00:10
bremner what does man git-svn-dcommit say?00:10
krunk- looking at the man00:11
jsquared joined00:12
warlock_mza joined00:12
offby1 Hugh deMann00:12
krunk- I was a little unclear from it, but it seems to imply it's an all or nothing00:13
engla create a commit for only that subdirectory, and dcommit that; would the effect not be the same?00:14
Fragsworth joined00:14
Fragsworth I just deleted a file by accident, how do I restore it?00:14
impulze did you remove it without it being commited?00:14
Fragsworth yes00:15
impulze then study your filesystem documentation00:15
Fragsworth well, I want to restore it to the last commited state00:15
impulze nothing that git can take care of00:15
ah ok00:15
git checkout HEAD -- file00:15
krunk- engla: I'm workign on portfiles, I have 3 that are ready to be pushed and 2 that are still in progress. they all have multiple commit histories00:15
impulze git checkout <commitish> -- file (more generally)00:15
akume joined00:17
mrlemao joined00:17
botanicus left00:17
hashbangperl left00:17
akume hey i upgraded to the lastest git and i'm getting an error00:17
error: Protocol https not supported or disabled in libcurl while accessing https://secure2.svnrepository.com/g_ctiadmin/impressions//info/refs00:17
not sure what could be causing this00:18
aeruder akume: what platform?00:18
akume i'm on OSX00:18
nosatalian joined00:18
akume snow leopard00:18
segher the libcurl you used doesn't support https00:18
impulze what he said00:18
akume is that something that i have to upgrade?00:19
or a setting that i have to change?00:19
segher that's what the error says, at least, and i have no reason to doubt it :-)00:19
akume because i didn't have this problem before00:19
or is it a matter of me getting a different version of libcurl00:19
^Einstein joined00:20
magcius left00:20
nosatalian I have certain large chunks of related files (repos) which I do not need version history for, since they are monotonically increasing, but rsync is too slow, since it is stateless and must reconstruct all hashes each time. Is it possible to use git to have quick delta-propagation without having to use essentially double the disk space needlessly duplicating all the content in the .git/ dir? Basically what I want are semantics where00:20
blobs are sourced from the working directory (which is assumed/required not to be modified)00:20
segher akume: the curl that comes with osx supports https fine -- do you use macports perhaps?00:21
akume i did download macports around the time i was upgrading my git version00:21
segher get rid of it, unless you need it. or make sure it isn't used by your git build, anyway00:22
magcius joined00:23
segher macports has lots of compatibility problems with lots of packages, way more than the native osx things it replaces for exactly that reason :-P00:23
tfarina left00:23
akume ok00:25
i'll try that00:25
justin-george left00:25
segher good luck, let me know how it went :-)00:25
justin-george joined00:27
rektide left00:28
eletuchy joined00:29
PuffTheMagicCheebaHawk00:29
akume segher: that was it. a high five and a beer for you00:31
segher i'll be satisfied with the knowledge i helped a fellow human today. or, erm, wait, did you say beer? :-)00:31
akume =P00:32
engla left00:32
sergiodj left00:33
rektide joined00:39
sergiodj joined00:41
sdboyer_ joined00:41
intripoon left00:42
cxvii joined00:43
adamtanner joined00:45
magcius left00:45
madewokherd joined00:45
magcius joined00:46
adamtanner left00:52
sdboyer left00:53
akume left00:54
cxvii left01:02
freerobby left01:14
marvil07 left01:17
corecode left01:18
markelikalderon left01:18
pecc left01:22
nothingHappens joined01:23
abms1116 joined01:23
VVSiz_ joined01:24
VVSiz left01:29
mrlemao left01:32
Bass10 left01:34
freerobby joined01:34
patcito joined01:39
j416 joined01:45
jrmuizel joined01:46
JakeSays how can i figure out which git revision a branch was created on?01:47
offby1 I doubt there's any wya.01:48
way.01:48
cehteh you cant (at least not reliably), branches only track heads01:48
JakeSays hmm.01:48
offby1 Do you mean "which version of git did the guy use when he ran 'git branch'"?01:48
or are you talking about git's own git repository?01:48
JakeSays offby1: uh.. i'm assuming i mean the revision # of HEAD when the branch was created01:50
i think thats what i mean anyway01:50
cehteh thats nowhere recorded01:51
you can look at the log and try to figure out when it branched away, not very accurate, merges make this unreliable01:51
for what do you need this information?01:52
mnick left01:53
JakeSays i'm working with someone who is trying to commit to svn a git branch so i can get to it (i only have access to their external svn server)01:53
cehteh i have no idea about svn, but svn branches and git branches are certainly quite different kinds of things01:53
JakeSays yeah i know. the whole thing is stupid if you ask me. wish they'd just open up their git repo.01:54
cehteh heh they use git and dont serve it?01:54
cehteh agrees, thats stupid01:55
JakeSays they use it internally01:55
cehteh thats really wtf :)01:55
Bass10 joined01:56
kevlarman JakeSays: why do you need the point where it branched for that though?01:56
jjuran "trying to commit to svn a git branch so i can get to it"01:56
JakeSays kevlarman: i have no idea.01:56
aziz left01:57
kevlarman git log -1 --grep=git-svn-id would probably give you what you're asking for01:57
jjuran That's like displaying it in the bottom drawer of a locked filing cabinet in a disused lavatory in the cellar so you can get to it. :-P01:57
Bass10 left01:57
kevlarman but it still makes no sense why you're asking for it01:57
Bass10 joined01:58
jjuran Seriously, I'd suggest trying to get access to the Git repo.01:59
freerobby left02:00
gko joined02:04
bcardarella joined02:04
JakeSays oh geez. ok. they only have an svn repo, with each dev having a local git repo02:07
offby1 weird02:07
JakeSays yeah02:07
rapha oh my god02:07
offby1 I bet some silly corporate IT rule prevents them from ditching the svn repo02:07
rapha please tell me "git checkout ." only gets missing files and does not overwrite others02:07
offby1 dunno,Try It And See™.02:07
aeruder rapha: i think i have bad news for you02:08
offby1 easy enough test to run02:08
aeruder well, i think...02:08
actually, i think that one requires a -f to overwrite02:08
Pewpewarrows joined02:08
rapha aeruder: in that case it definately does not require an -f02:08
this is dangerous02:08
i need to strangle the appropriate developer02:08
argl02:09
and it didnt even tell me which ones it overwrote!!!02:09
JakeSays offby1: yeah, i bet you're right.02:09
aeruder rapha: yea, that is02:09
rapha HAHAH! I set vim to have backups in ~/.backups this morning!02:10
hashbangperl joined02:11
ben_h joined02:13
aeruder rapha: hm, i almost think it should require -f there, pretty dangerous02:15
montylounge joined02:19
cytrinox_ joined02:20
bcardarella left02:22
ajonat left02:27
upul joined02:30
sdboyer_sdboyer02:31
warlock_mza left02:36
cytrinox left02:37
cytrinox_cytrinox02:37
tro|| joined02:38
rudi_s_ left02:40
Aszarsha_ joined02:42
jaysern_ left02:43
jlf` joined02:44
cqpx joined02:45
aspotashev_ joined02:48
tro left02:49
tro||tro02:49
eletuchy left02:51
scarabx left02:52
tjafk1 joined02:52
xckpd7 left02:55
Aszarsha left02:59
tro left03:00
tro joined03:00
bcardarella joined03:01
amerine joined03:01
aspotashev left03:03
hugoxrosa left03:04
coolcat left03:04
montylounge left03:05
Aszarsha_Aszarsha03:07
voker57 left03:08
AszarshaAszarsha_03:08
Aszarsha_Aszarsha03:08
voker57 joined03:08
tjafk left03:09
mw__ left03:12
abms1116 left03:15
pheaver left03:16
goncalo left03:20
tro left03:22
tro joined03:23
j2labs joined03:23
j2labs I just cloned a project that has multiple branches, but "git branch" doesn't show them. How can I use them?03:23
aeruder j2labs: git branch shows your "local branches"03:24
git branch -a shows all, git branch -r just shows remote tracking branches03:24
j2labs aeruder: ah, great. thanks03:24
j416 left03:25
qhoxie joined03:30
j2labs if i cloned a project on github, my project is seen as origin, right? if so, what is the project i forked referred to as?03:31
aeruder well, you didn't clone that, you cloned your project...03:32
so what you'd want to here is setup a new remote03:32
git remote add nonforked <url>03:33
git fetch nonforked03:33
and now you'd have nonforked/* and origin/*03:33
sitaram j2labs: I think thats why github uses the word "fork" for that action. So lets say you fork my project gitolite, github/j2labs/gitolite would be a fork of github/sitaramc/gitolite, and then you clone yours. You could clone mine and not fork, if you didnt want to push anything back or maintain some differences03:34
(I do that for many projects where I just want to use it)03:34
j2labs ok. the advice from both makes sense and i've now merged the official branch for a project into mine03:35
thanks! git is really neat in theory but i don't have it in practice yt.03:35
aeruder j2labs: gitk is good for figuring things out visually, you can do a gitk --all and see how everything relates to each other03:35
pheaver joined03:35
j2labs is github having issues right now? i'm getting errors just from cloning. i know they have a big move today03:37
aeruder: thanks for the suggestion about gitk03:39
j2labs left03:42
sitaram j2labs: github is probably having some issues -- at the best of times they're a little slow; hopefully this move will make things better03:43
eletuchy joined03:45
SaCu_ joined03:45
CheebaHawk left03:46
schacon j2labs: what is the error?03:47
oh, they asked the question and took off03:47
nevermind, then03:47
sitaram oh hi scott -- is the move done?03:52
did it go well? I got a couple of "bad gateway" type errors looking at something... retry worked so I didnt bother asking03:53
dreiss left03:53
sitaram is not even sure what "bad gateway" means... caching proxy malfunction?03:54
gaveen joined03:54
eno__ joined03:55
eno left03:55
voker57 left04:00
SaCu left04:00
voker57 joined04:00
bsdvodsky left04:01
bsdvodsky joined04:04
jspiros left04:04
raichoo joined04:06
TheUni am i correct in assuming that a git svn fetch of a remote repo, and that same repo but copied and cloned locally... different git id hashes will be generated?04:07
that seems to be what i'm observing04:07
jrmuizel left04:11
djszapi left04:11
qrush|awayqrush_04:13
kevlarman TheUni: afaik they should be the same04:13
Theravadan joined04:13
TheUni kevlarman: from what i've seen they're not. and from what i can tell git-hash-object uses path as a filter. if that's the case, i'm wondering if there's a way to spoof the path for a git svn clone04:14
cqpx left04:14
qrush left04:15
TheUni problem is, after cloning from my local svn repo and pushing, a resulting clone from that and git svn fetch fails, and wants to redownload all history04:15
jason237 joined04:15
cqpx joined04:15
kevlarman that's different04:15
i've never seen it not want to redownload all history (i've tried)04:16
but the resulting hashes after you do seem to match up04:16
TheUni kevlarman: i've managed in the past i think04:16
aeruder that's due to the clone not copying all the metadata in .git/svn i think04:16
TheUni aeruder: understandable, but it's still in the commit messages, and it regens SOME of the history ok04:17
so i am assuming it's an error on my part04:17
kevlarman there's something in the git-svn man page about how to do that04:17
jrmuizel joined04:19
TheUni ah, rewriteRoot is what i'm looking for04:21
thanks kevlarman04:23
hyperair joined04:25
roop joined04:26
jason237 is there any way to query what remote branch corresponds to the refspec that git pull will merge with?04:26
aeruder wishes people would just stop using git-pull and fetch+merge04:26
aeruder you can always just do the git pull and then reset --hard it away04:27
jason237 I don't think that would help me; I would like that for things like git log -p remote.. or git rebase -i remote04:29
aeruder jason237: um, then i think you aren't wanting git pull04:30
and you just want git fetch04:30
which is pull without the merging it into your branch step04:31
i.e. it updates your remote tracking branches04:31
jason237 I don't want to fetch at all04:31
aeruder why not?04:31
jason237 I just want to know which remote branch my current branch is based on04:31
well, I want to fetch sometimes04:31
but I also want to be able to look at my local changes relative to the appropriate remote branch04:31
jrmuizel left04:32
jason237 and git pull knows which remote branch that is04:32
kevlarman jason237: branch.<branchname>.remote and branch.<branchname>.merge04:32
jason237 kevlarman: well, yes, that's what it's based on, but it's non-trivial to map that onto a refs/remotes/ name04:33
jrmuizel joined04:33
aeruder jason237: i think the answer is that there isn't04:34
i wouldn't be surprised if they'd accept a patch to fix that04:34
but right now i think you gotta use kevlarman's approach (chop /refs/heads off of remote.<branchname>.merge and branch.<branchname>.remote)04:35
jason237 ok, maybe I'll poke at that04:35
rkirti[zZz]rkirti04:35
qhoxie left04:36
jspiros joined04:37
raichoo left04:37
ereslibre left04:38
tedoc2000 joined04:39
jceb joined04:39
dreiss joined04:42
segher left04:46
amerine left04:47
meanburrito920_ left04:50
tedoc2000 left04:51
jlf`jlf_away04:57
imranh joined04:57
imranh left05:00
imranh joined05:05
Cesario joined05:06
octal joined05:07
imranh left05:08
wolog left05:15
Pewpewarrows left05:16
amerine joined05:16
jrmuizel left05:17
Rolenun left05:17
krawek joined05:17
jrmuizel joined05:21
jrmuizel left05:21
ajonat joined05:22
Tuomas joined05:23
pheaver left05:26
pheaver joined05:26
giallu left05:26
dirk2 joined05:28
Bass10 left05:28
flippo left05:28
qrush_qrush|away05:38
fualo joined05:38
marc_m left05:39
fualo How can I start tracking a remote branch if I didn't clone it initially?05:39
can I just add it to .git/config05:40
thiago_home joined05:41
hyperair left05:42
aeruder fualo: git fetch should pick it up....05:43
git branch -r05:43
onigiri left05:45
slackstation left05:46
fualo thanks aeruder05:51
wereHamster aeruder: there's thn %{upstream} format05:51
fualo is there also a way to make a patch for a few line numbers?05:51
fualo left05:52
justin-george left05:54
marvil07 joined05:57
wereHamster aeruder: git for-each-ref --format='%(upstream)' $(git rev-parse --symbolic-full-name HEAD)05:57
fualo joined05:59
qhoxie joined05:59
qhoxie left06:00
jceb left06:01
Guest67226 left06:11
fualo What's the most git way to take a chunk of a function from one branch, and move it to another branch06:11
sitaram vim06:12
fualo sitaram: copy and paste?06:12
sitaram seriously; git has nothing to do with until *after* you do it :)06:12
fualo sitaram: well I thought a selective patch06:13
or something06:13
sitaram but then, git is the only VCS that will retroactively figure out you refactored that code and show you the history from its previsou life on another planet06:13
er.. file06:13
now if you'd said "commit" that would be cherry pick06:13
fualo can I cherry pick across branches?06:13
sitaram sure06:14
fualo and for a single file?06:14
sitaram you could do it with format-patch, (or git diff), edit the patch file, and then apply it to the other branch, but thats not a lot better than yank/put in vim (or whatever is your poison in terms of text editors)06:15
fualo emacs06:15
ok06:15
copy paste itis06:15
:-)06:15
ntoll joined06:16
sitaram fualo: see the thing is if its's not the entire commit, you have to use an editor somewhere, for best results :)06:16
fualo yea, true06:16
I see06:16
cao joined06:17
caoGuest4407806:17
Arild left06:18
priidu joined06:19
delsvr left06:20
jin joined06:22
bcardarella left06:23
Thell left06:26
loincloth left06:31
VVSiz_VVSiz06:32
mastro joined06:35
^Einstein left06:35
bousquet joined06:36
bentob0x joined06:37
amerine left06:40
LiHong joined06:41
LiHong left06:41
jinjin7206:41
LiHong joined06:41
kprav33n joined06:43
dreiss left06:43
kprav33n I have a personal git repository of org files that I share between computers06:43
By org, I mean Emacs org-mode files.06:43
I want to set the file permission 0600 on these files so that other users on the machine don't read my personal notes.06:44
Is there a way to change these file permissions in the repository?06:45
I changed the file permissions locally, but they are lost when I do a git pull.06:45
Unregistered joined06:45
sitaram git doesn't track or keep permissions except the first "x" in rwxrwxrwx06:49
frede joined06:49
sitaram you'll have to do it externally06:49
PointMan joined06:50
Unregistered http://bit.ly/26ax7L ->if possible need help06:50
sitaram maybe look at the post-merge hook (but it's not portable)06:50
^Einstein joined06:50
sitaram kprav33n: and why is your $HOME readable anyway... seems to me you should stop people right there :)06:51
Unregistered http://bit.ly/26ax7L ->if possible need help06:51
Unregistered left06:51
kprav33n sitaram: I have a lot of stuff in my home directory that I share with others06:51
PointMan left06:51
ph^ joined06:52
aspotashev_ left06:52
sitaram ^Einstein: hi... got a minute?06:53
^Einstein sitaram: sure!06:53
sitaram ^Einstein: you can download the latest master of gitolite; it will give better error messages when you dont match up the pubkeys and the config file properly: see commit http://github.com/sitaramc/gitolite/commit/c66e1ad73286e1a193373234142daab44e5f7dd606:53
cedricv joined06:54
^Einstein Cool, I'll git pull right now :)06:54
fualo when I do git push origin master, is git pushing the current checkout branch to master, or local master --> master?06:54
^Einstein Thanks, sitaram.06:54
disappearedng left06:55
dirk2 left06:55
johan-s joined06:56
sitaram you're welcome!06:56
octal left06:57
jlf_away hi #git, what's the best way to host a repository on my machine and allow a few other people to push changes into it without giving them shells on my machine?06:57
tim_jenssen joined06:57
sitaram gitolite06:58
wereHamster gitolite06:58
ph^ left06:58
sitaram jinx!06:58
http://github.com/sitaramc/gitolite06:58
jjuran kprav33n: You can set the umask before running git checkout, but that affect's all created files.06:58
affects06:58
dpino joined06:59
ph^ joined06:59
jlf_away thanks gents, i'll have a look07:00
agenteo left07:02
roop_ joined07:02
Unregistered joined07:03
Unregistered http://bit.ly/Tp2F1 Is this good?need advice from pros07:03
Unregistered left07:03
roopGuest3114607:04
roop_roop07:04
giallu joined07:04
kprav33n jjuran: Is it possible to set this somewhere in the config file?07:05
I don't want to do this everytime.07:05
I saw the man page of git config07:05
j416 joined07:06
kprav33n I found this variable, core.sharedRepository and I have set it to 0600.07:06
But that doesn't help.07:06
sitaram kprav33n: no but you can set an alias that does both and use that instead of your regular push I guess; the alias page in the git wiki has a few examples07:06
kprav33n sitaram: Okay, thanks!07:07
sitaram kprav33n: and you may get a bonus that the umask will only apply within that function (test it...) thus not affecting the rest of your work07:09
kprav33n $ git config core.sharedRepository 060007:10
That solves it.07:10
Thanks, everyone!07:11
freezed joined07:12
ciscbrain joined07:12
freezed Hello07:12
kprav33n I thought of a bash function first. But I wanted to see if there is a git config item and well, there was one!07:13
kprav33n left07:13
freezed If I want to manage multiple projects with redmine or trac for example, should I create I repository and a new directory for each project OR one repository for each projects ?07:14
sitaram kpreid_: check if that affects only the files under ".git" (the actual repo) or the working tree as well...07:14
kprav33n07:15
(sorry kpreid_ ! bad tab completion)07:15
Guest31146 left07:16
^Einstein Does anyone here have experience with either the hg-git plugin for mercurial or the deprecated hg-to-git.py script, or know of another way to inherit/convert and push hg changesets accurately?07:17
schacon left07:18
gsuveg joined07:19
gsuveg re07:19
^Einstein hg gpush fails for me no matter what I try - I think its use of ssh on the client side is improper, but not sure - and for whatever reason I lose some of my history, or it is very skewed, with hg-to-py07:19
er, hg-to-git.py*07:19
gsuveg ist have a git server via ssh, and ive local 2 branch. its possible to send all branches to server ? how?07:20
wolog joined07:22
sitaram git push remotename --all07:22
galderz joined07:23
mattcodes joined07:24
gsuveg sitaram: thanks!07:24
bousquet left07:25
mattcodes okay two directories c:\gitexp\test1 and c:\gitexp\test2. Test2 is a clone of test1. I make a change to story.txt in test2, commit it, and then git push origin master.07:25
i change directory to c:\test107:25
what do I need (or should do) to see the change in test107:25
as opening story in test does not have the changes I pushed from test207:25
hobodave left07:26
mattcodes hmmm "git checkout -f" seems to have worked and now shows updated story.txt in test1, but I dont Im following the right practice? I think i might be missing something...07:27
Mikachu mattcodes: faq non-bare07:27
Gitbot mattcodes: Pushing to non-bare repositories is discouraged. See http://git.or.cz/gitwiki/GitFaq#non-bare07:27
freezed what is a bare repository ?07:28
j416 freezed: a repo where there is no .git dir, but instead the contents of .git is in the main dir itself, and there is no working copy.07:29
used for pushing to.07:29
tbf joined07:30
fpcfan-awayfpcfan07:30
kupsch I want to track/checkout a single file from a remote repository. How can I achieve that?07:32
mattcodes hmmm read got ya (I think)... removing simplification. in my example I have c:\workspaces\CRMProject and c:\workspaces\MattCommons I have on the CRMProject done "git submodule add MattCommonsPath ThirdParty\MattCommons" to bring the commons in to the proejct. in theory i dont need a working copy of MattCommons on its own do I? just bring it in and send it back and forth as commons is never deployed alone... I think I get the idea..07:32
(thinking out loud)07:32
kent\n joined07:33
drizzd_ kupsch: you can do that using git-archive --remote07:33
kupsch: otherwise $faq clone-sudir07:33
kupsch: faq clone-subdir07:33
Gitbot kupsch: Git cannot clone subdirectories. See http://git.or.cz/gitwiki/GitFaq#clone-subdir07:33
kupsch well it's not a subdir, it's just a single file07:33
drizzd_ This includes cloning individual files, of course07:34
kupsch k, thanks07:34
gsuveg bye07:38
gsuveg left07:38
jds joined07:42
marvil07 left07:42
freezed j416: thanks07:47
squentin left07:47
PointMan joined07:48
[Po]lentino joined07:48
mattcodes left07:49
pheaver left07:52
SRabbelier joined07:54
ixti joined07:54
ixti Hello everyone07:54
can someone help me a little?07:54
what is the difference between: `git reset --hard` and `git checkout -R .`07:55
teuf ixti: just ask your questions, you'll see if someone answers or not :)07:55
ah sorry07:55
ixti :))07:55
git-checkout without -R07:56
sitaram git checkout -R??? cant find it in the manpage...07:56
ixti don't know why i placed it :))07:56
:))07:56
sorry, seems like, i need to have a little coffee07:56
:))07:56
so the final version of my question is: what is the difference between: `git reset --hard` and `git checkout .`07:57
sitaram wait07:57
Mikachu ixti: without arguments, not much07:58
sitaram ixti: http://permalink.gmane.org/gmane.comp.version-control.git/10445707:58
freezed Have a nice day08:00
ixti Mikachu: sitaram: thank you08:00
mattcodes joined08:00
freezed left08:00
mattcodes when in a super project that has various sub projects using git submodules, if there a way to call Update on the superproject and the sub projects update as well, ala SVN Update on a super project with svn:externals, I guess its probably a sort of recursive git pull?08:01
icwiener joined08:05
shruggar joined08:07
intripoon joined08:07
lucsky joined08:08
drizzd_ mattcodes: my git version has a --recursive option08:10
mattcodes: apparently it's a new feature in 1.6.5-rc008:12
mattcodes ah thanks, im running windows for .net dev at the moment so I guess I'll wait, no probs, good to know its on its way08:13
fualo are there any git plotters? i.e. size/lines per day?08:13
Adlai fualo: github has an "impact" graph08:13
drizzd_ fualo: there are lots of those. maybe you can find some in the wiki08:13
fualo ok, Ill check the wiki08:14
JakeSays left08:15
LRN left08:15
JakeSays joined08:15
jinzhu joined08:15
ajonat left08:16
fualo left08:17
pheaver joined08:17
patcito left08:19
Dashkal left08:19
solydzajs joined08:19
pheaver left08:21
dancor left08:21
mattcodes left08:26
wolog left08:29
mnick joined08:31
warthog9 joined08:33
abms1116 joined08:33
fdv joined08:34
struberg joined08:34
adeodatus joined08:37
fdv left08:37
maattd_ joined08:40
loops joined08:43
lucsky left08:44
krawek left08:45
gitte joined08:46
adeodatus left08:47
lucsky joined08:47
aatanasov joined08:49
romfert joined08:51
engla joined08:51
maattd left08:55
maattd_maattd08:55
ia left08:56
abms1116 left08:57
noginn joined08:59
j416 left09:01
patmaddox left09:01
abms1116 joined09:04
sergeykish joined09:05
bsdvodsky left09:05
ArdRigh joined09:06
ia joined09:08
sergeykish Hello, I need a way to list files by status - staged, modified, untraced. I've found `git ls-files -m` for modified and `git ls-files --exclude standard -o` for untraced. How can I list cached?09:10
tbuehlmann joined09:10
sitaram git ls-files without any options is supposed to do just that, I think09:10
Pieter git diff-index09:11
sergeykish * files added to index09:11
Pieter git diff-index --cached HEAD09:12
sergeykish Pieter, thanks `git diff-index --name-only HEAD` looks good09:14
ccherret1 joined09:16
ccherrett left09:16
ccherret1ccherrett09:17
jinzhu_ joined09:18
cqpx left09:21
gretch_ left09:22
struberg left09:23
ccherrett left09:24
JohnFlux joined09:26
JohnFlux Doing "git status" locks the repository. Does it really need to lock the repository?09:27
davido joined09:27
gretch joined09:27
markelikalderon joined09:28
ccherrett joined09:28
relix joined09:29
tono left09:30
sergeykish `git diff-index HEAD` show items even if it is not added to index, I need `git diff --cached` filelist09:31
Sorry, found --cached flag :)09:31
impulze left09:34
voker57 left09:34
voker57 joined09:34
j416 joined09:34
impulze joined09:35
impulze left09:36
j416 does git fully support unicode filenames?09:36
engla JohnFlux: what do you mean with locks?09:36
j416: git treats filenames as byte strings, you can encode them however you want09:37
impulze joined09:37
j416 engla: ok! thank you.09:37
engla that's the principle at least09:37
dbrock can I unpack all refs somehow?09:37
j416 seems to work, the only thing is that it displays my utf-8 text as escape sequences09:37
I wonder why.... hm.09:37
JohnFlux j416: so in other words, you have to guess what a repository has encoded its filenames as09:37
j416 ok09:37
charon some commands deliberately escape filenames in the output09:38
JohnFlux j416: and if its anything except utf8, it will not work when you check it out in windows09:38
Ilari j416: On Mac OS X, IIRC, you need to use UFS as filesystem (I don't recall wheither ZFS works, HFS+ definitely doesn't work).09:38
j416 oh09:38
engla Ilari: really?09:38
ixti left09:38
j416 Ilari: I'm using HFS+09:38
JohnFlux j416: Windows version git assumes that git is using utf809:38
j416 why doesn't it work?09:38
JohnFlux: good.09:38
good to know09:38
engla well there is an issue due to OS X normalization of unicode09:38
j416 oh09:39
engla I thought it was resolved09:39
j416 normalization?09:39
Ilari HFS+ corrupts unicode (at least characters like ä and ö and others like those).09:39
engla well git treats it as byte strings09:39
Ilari: normalizes, not corrupts09:39
j416 Ilari: corrupts?09:39
in what way?09:39
engla j416: unicode can have different representations09:39
j416 yes09:39
engla j416: but there are canonical and non-canonical composition of characters, such as ö09:39
j416 non-canonical composition of 'ö'? how can that be09:40
i thought that was clearly defined09:40
engla j416: and OS X always normalizes using one of the standard algorithms09:40
j416 '¨' + 'o', or 'ö'09:40
tono joined09:40
j416 ok09:40
Ilari HFS+ uses NFD-like form (it isn't even standard NFD). Would cause massive interoperability problems.09:40
engla Python tells me this09:40
j416 hmm09:41
engla ö is '\xf6', but the NFD form is 'o\u0308'09:41
charon engla: well, i do call it a corruption on the grounds that it "normalized" an umlaut on our local SVN (i know...) to the NFD, resulting in two different directories both called "übungen"... except at the byte level of course.09:41
engla that is an o with some combining diaresis09:41
charon: yes, it's corruption in the Linus Torvalds and the UNIX perspective09:41
j416 crazy09:41
markelikalderon left09:41
j416 I wonder what that would be good for..09:42
the file system should accept the name I give to a file and not mess with it. Scary..09:42
engla j416: on OS X, you can guarantee that if two folders are independently named ö, they have the same encoding09:42
kraymer joined09:42
engla in the name09:42
j416: well then you have the UNIX philosophy that git uses09:43
charon engla: where the "unix perspective" is that it should make communication with other systems possible? :-) </troll>09:43
_Vi left09:43
engla well no09:43
j416 engla: yeah... either that, or Unicode have to fix their definition09:43
Ilari NFD/NFC insensitive but preserving would be one thing. Corrupting the stuff is whole another.09:43
j416 s/have/has/09:43
engla the unix perspective is the least influence possible so it's the lowest level09:43
you can have a mix of filesystem encodings, it is not defined09:44
it leads to other problems09:44
jinzhu left09:44
engla j416: well NFD is explicitly a decomposition, not much to fix there. they should have used NFC at least09:44
linux must always be incompatible since it accepts anything as a file name09:45
j416 I guess.09:45
engla Windows? Requires UTF-8?09:45
j416 lucky CJK doesn't have these problems09:45
no umlauts..09:46
jmibanez joined09:46
j416 (why isn't umlaut called ümlaut?)09:46
engla ok. but you can decompose to radicals or something?09:46
j416 engla: korean yes, japanese/chinese, no such mapping afaik.09:46
ryoma left09:47
Yuuhi joined09:47
T2000-lap joined09:47
ixti joined09:47
Ilari I have table of fixups to do for "NFD"... 925 entries in that table.09:47
engla plural for umlaut must be umläute(?) :-)09:47
ikrabbe joined09:48
T2000-lap engla: no its "Umlaute"09:48
engla thanks09:48
charon ungeläutert ;-)09:48
psoo joined09:48
Ilari Fortunately, all those fixups are non-expanding in UTF-8.09:49
ikrabbe Hi, is there somewhere a comprehensive definition of all those short-names used in the git manual like: <remote-ref>, <refspec>, <ommit-ish> etc.09:49
jjuran I don't speak German, but 'u' and 'ü' are different vowels.09:49
charon ikrabbe: man gitglossary?09:49
Ilari ikrabbe: man gitglossary?09:49
Gitbot ikrabbe: the gitglossary manpage can be found at http://git.or.cz/man/gitglossary09:49
engla will nicht sein deutsch vergessen09:49
jjuran j416: ^09:49
j416 jjuran: it was a joke :P09:49
(and besides, wouldn't it make more sense to call it ümlaut to clarify its meaning? :)09:50
jjuran But then you'd pronounce it (nearly) 'eemlaut', which sounds funny. :-P09:51
j416 eemlaut.. o_O09:51
no09:51
ümlaut. :)09:51
LRN joined09:52
j416 if it was ümlaut from the start no one would have thought it sounded funny, though. :P09:52
jjuran I'm told that ü and ie are considered close enough to rhyme.09:52
kukks joined09:52
j416 ü and 'ie' ?09:52
charon i wanted to spell it with a diacrisis on the 'm', but apparently that's not a character... *sigh*09:53
jjuran As in Brüder and diesen09:53
j416 ah09:53
charon er, diaeresis.09:53
ikrabbe its enough to rhyme, yes09:53
Ilari charon: Unicode combining diacrisis?09:53
j416 very lazy rhyme.09:53
charon Ilari: dunno, i just tried to spell it with the deadkey for umlaut and it refuses to put it on an 'm'09:54
j416 charon: I don't think m with umlaut is proper, is it?09:54
does unicode define ¨+m ?09:54
jjuran The more umlauts, the more you rock.09:55
j416 o_O09:55
Ilari 09:55
ikrabbe an umlaut is a vocal by (laut->vocal)09:55
ArdRigh left09:55
j416 ooh.09:55
charon j416: of course there's no m-umlaut, but then it wouldn't be funny09:55
j416 :D09:55
charon so lets call them um̈lauts09:55
Ozzy_ joined09:55
j416 hahahaha09:55
charon (thanks Ilari)09:55
j416 um̈laut09:56
mapreduce left09:56
j416 well well09:56
sorry for bringing up this OT. :)09:56
Aszarsha left09:56
j416 </OT>09:56
Ozzy_ left09:56
j416 thanks for the info.09:56
jjuran O Freunde, nicht diese Töne!09:57
Ozzy_ joined09:58
engla ikrabbe: laut <=> vocal? I would have thought laut = phoneme09:58
j416 entschuldigung!09:58
jjuran No problemo10:00
j416 ah-ri-ga-toh10:00
Ozzy_ left10:00
ikrabbe engla, you're right, I just guessed laut<->Vokal<->vocal, but Vokal<->vowel and laut<->phoneme, though all those words are connected together quite tight I think.10:01
m-takagi left10:02
tbuehlmann I have an umlaut in my name!10:03
charon JohnFlux: about the locks... did you try with a git from the next branch? it has a new git-status that is no longer 'git commit --dry-run'10:03
wolog joined10:04
JohnFlux charon: ah cool10:04
radii left10:04
charon so if it doesn't lock everything there, good; if it does, at least we can fix it in the right place10:05
MisterN joined10:05
radii joined10:06
^Einstein the all-mighty Google has provided me very little with regard to using git with mercurial repositories. The hg-git plugin for mercurial isn't authing to ssh properly, and git-to-hg.py (a standalone script to convert a .hg into a .git) seems to not be functioning properly. Any ideas?10:12
_Vi joined10:13
jmibanez left10:14
khinester joined10:14
khinester hello10:14
sde_antrix joined10:15
j416 left10:18
hyperair joined10:18
khinester i am using git as a datastore for an application built in python. is there a method in which i can have a persistant sync between two remote repositories?10:18
radii left10:18
benjo2 joined10:18
JackWinter left10:20
gko left10:21
lu_zero left10:21
nothingHappens left10:22
benc1 joined10:23
benc1 how do I show what branch I'm currently on?10:23
LiHong left10:23
teuf benc1: git branch10:23
WinterWeaver joined10:24
JackWinter joined10:24
benc1 teuf: thanks10:24
trochala joined10:25
trochala Hello, how can I grep commit messages?10:25
JohnFlux trochala: git log | grep blah ?10:26
benc1: much better solution is to modify your bash prompt to always tell you what branch you are on10:26
engla trochala: git log --grep=10:27
JohnFlux benc1: shall I tel you how?10:27
engla: what was wrong with what I said/10:27
engla: I mean, is there a difference?10:27
engla JohnFlux: perhaps nothing in practice. But I suppose git log's version is going to be more efficient10:27
Adlai JohnFlux: git log --grep probably searches as it goes10:27
trochala engla: thanks :)10:28
benc1 JohnFlux: sure10:28
doener JohnFlux: your command shows lines from the commit messages that contain blah10:28
benc1 how do I delete the recent commit?10:28
JohnFlux doener: ah yes of course10:28
doener JohnFlux: the log command shows commits that contain 'blah' somewhere in the commit message10:28
JohnFlux: I'd dare to say that the results of your command are somewhat useless ;-)10:28
Adlai doener: ah true, that's the real difference10:28
JohnFlux doener: yeah10:28
benc1 I've commited to a branch and now I want to go back to the branch before the commit10:29
engla JohnFlux: git log --grep also has autopaging behaviour10:29
which is a nice git feature10:29
JohnFlux benc1: have you pushed the branch?10:29
benc1: I mean, have you already pushed your bad commit upstream10:29
benc1 JohnFlux: no. I created a branch and did one commit -a but it didn't include a new file10:30
doener benc1: then you can simply amend the commit10:30
benc1 JohnFlux: no. just commit -a -m "comment"10:30
doener benc1: git add $missing_file; git commit --amend10:30
benc1 doener: will it overwrite the last commit?10:30
JohnFlux yes10:31
benc1 cool10:31
doener benc1: it will be replaced in the branch head's history10:31
JohnFlux benc1: it helps to say what you're actually trying to do :)10:31
benc1 JohnFlux: I'm trying to figure it out myself :)10:32
nothingHappens joined10:33
ddvlad_ joined10:34
froschi joined10:34
vvsh joined10:35
ddvlad_ hey, how can i revert a single file (a sort of reset --hard, but for a single file)? a colleague suggested rm + checkout that file, but said it's probably not the standard way to do it10:36
wolog left10:36
bentob0x left10:36
stamina joined10:37
doener ddvlad_: git checkout HEAD -- file10:37
ddvlad_: or "git checkout -- file", if you want the version that's in the index10:37
jfkw joined10:38
s0ber left10:40
engla I think this alias is nice: it discards all modifications not staged:10:41
alias.discardchanges=!git checkout -- $(git ls-files -m)10:41
doener engla: hm, shouldn't "git checkout -- ." do the same, just with less processes?10:42
s/less/fewer/10:42
engla I didn't know checkout -- . would work. And it might do the same work, but all in the checkout process10:43
doener engla: another possibility would be "git stash save --keep-index", to stash away the unstaged changes10:44
engla yeah but this is for explicitly just clearing them10:45
you might stage any changes and then discard any debugging output-related changes10:45
s0ber joined10:46
MisterN left10:46
doener yeah, I primarily mentioned that for others, that might have other changes around that should go into another commit, but want to test what they're actually going to commit now10:47
_rane I'm looking for a way to make git automatically remove trailing whitespace from my commits, any tips?10:47
ikrabbe left10:47
dbrock if I want to rebase a whole branch onto another branch and the branches share no common ancestor, what do I specify as "upstream"?10:48
LRN left10:48
GarethAdams|Work dbrock: if the branches are in the same repository, they have a common ancestor10:48
doener dbrock: a "whole branch" as in "including the root commit"? Then use "git rebase --root --onto <otherbranch>"10:48
GarethAdams|Work: not necessarily10:48
dbrock doener: ah10:49
doener GarethAdams|Work: clone git.git, fetch linux-2.6.git. Same repo, different root commits10:49
GarethAdams|Work: and even in git.git alone, there are multiple root commits, as independent things got merged in (git-gui, gitk, ...)10:49
GarethAdams|Work oh10:49
benc1 left10:50
ph^_ joined10:50
doener GarethAdams|Work: and there are even unconnected branches in git.git, like the "man" and "html" branches, that contain the pre-built docs10:50
dbrock hmm, my git-rebase doesn't support the --root option; I guess the cygwin version is a bit old10:50
hyperair left10:50
hyperair joined10:51
dbrock does the "root commit" have a name?10:51
is the root commit the first normal commit or is it the parent of the first normal commit?10:51
doener dbrock: it's just a commit that has no parent10:52
dbrock: e.g.: git init; git add .; git commit # Creates a root commit10:52
dbrock (the first normal commit doesn't have a parent as far as I can tell)10:52
jjuran doener: I have a question about that. Isn't it disruptive to switch from master to html and have all the code disappear? Or are these disjoint branches only checked out in separate working trees?10:52
engla a root commit has 0 parents, normal commit 1 and merge commit has 2 or more. (What's the maximum?)10:52
doener engla: IIRC there was a limit for octopus merges to have 16 parents, but that has been increased or lifted, not sure10:53
dbrock but if I give the root commit as the upstream for rebase, it won't include that commit, will it?10:53
capndiesel joined10:54
engla jjuran: merged-in subtrees are especially disruptive with bisect.. if your bisect goes out on a subtree branch. Bisect can't jump to 'html' or any disconnected branch of course10:54
doener dbrock: it won't. "git rebase --onto <onto> <upstream> <branch>" creates patch from <upstream>..<branch>, which excludes <upstream>, thus there's the --root switch10:54
jjuran engla: I use temporary octopus merges to tie my topic branches together -- a couple dozen at most, so far.10:54
engla ok10:54
doener dbrock: with --root, you don't provide <upstream> at all10:55
dbrock doener: ah, yes, okay, thanks, so... hmm...10:55
ddvlad_ doener: thanks for the answer, i was awol for a bit :)10:55
doener jjuran: well, if you work on the html branch, you don't want the code around, it has nothing to do with the html stuff10:55
jjuran engla: To clarify: I have only tried to merge a couple dozen branches at once, and Git handled it just fine.10:56
dbrock doener: yeah, I gathered, but I wonder what to do when my git-rebase has no support for the --root option10:56
doener jjuran: but as that's just holding the build results, Junio probably never switches to it, but has a script to do all the work of building the html docs and updating the branch10:56
engla jjuran: at that point it's more surprising there aren't any explicit or implicit conflicts10:56
doener dbrock: hm, not sure whether you can cherry-pick root commits, but if so, that would be an option10:57
ustunozgur left10:57
jjuran doener: I wouldn't want to work on the code and then switch to html. My editor would see the files disappear and close their windows. And then upon checkout I'd have to recompile everything.10:57
doener dbrock: cherry-pick the root commit, then do "git rebase --onto other_branch_with_cherry_picked_root root10:57
dbrock doener: ah, so cherry-pick it and THEN rebase10:57
yeah, good idea, thanks!10:57
doener jjuran: then do things in a separate working tree, no problem with that10:58
jjuran doener: So those branches aren't really for human consumption anyway. Accurate?10:58
doener jjuran: In this case, yes. I assume that Junio has scripts to update them, and as a user you do "make quick-install-man" (for the man branch, I guess the target for the html docs is quick-install-html, but I don't know, as I don't use it)10:59
Escafane joined10:59
_Vi left11:00
boto joined11:00
_Vi joined11:00
botanicus joined11:01
khinester left11:01
tbuehlmann left11:02
^Einstein left11:02
magcius left11:06
jjuran engla: The workflow doesn't allow for conflicts. If two branches conflict then one of them can't be a topic branch.11:08
ixti left11:09
jds_ joined11:10
doener jjuran: well, that's a bit too general to be said that way. I can have "fix bug in XYZ" and "improve performance of XYZ", two topics, and they can easily conflict11:10
jds left11:11
mrtazz left11:12
mrtazz joined11:12
brizly joined11:14
romankrv joined11:14
psynaptic joined11:16
jkp joined11:19
corni joined11:21
_rane how do I see what's currently staged to be committed?11:23
on diff level11:23
teuf git diff --cached11:24
jinzhu_ left11:24
_rane thanks11:24
gretch left11:25
jds_ left11:28
brizly1 left11:29
solsTiCe joined11:31
upul left11:31
solsTiCe hi. how do i get the lsit of files tracked by git ? git status show the one not tracked11:31
abms1116 left11:32
aspotashev joined11:32
wereHamster git ls-files11:32
ruphy left11:33
solsTiCe ok. thanks11:34
Scytale joined11:34
hyperair left11:35
Scytale Hi. I want to move a subdirectory D of repo A into a new repo B, keeping history. "filter-branch --subdirectory-filter" looks pretty much like the way to go, but there is one problem:11:36
relix left11:36
xymbol joined11:37
Scytale The subdirectory D was recently renamed, and I want to include the commits before its rename as well. filter-branch apparently doesn't do that. What are your suggestions?11:37
spaceonline joined11:37
Chaser__ joined11:38
Theravadan left11:39
Chaser__ fired up firefox today to notice that all my history book marks is gone the left right stop and refresh buttons dont work !11:39
BC-bd Scytale: no idea if it works, but checkout the dir just up to the rename, export that, and then checkout to head and export the delta starting from the rename11:39
Chaser__ oops sorry wrong channel11:40
marc_m joined11:41
Cynos joined11:41
f00li5h joined11:41
f00li5h meows11:41
marc_mmarc_kdab11:42
Scytale BC-bd: Could you please tell me how you would "export that"? I also thought about using cherry-pick on all the commits to form a new branch...11:42
Cynos hi all, I've got myself in a pickle that I'm unsure how to undo. There's a rather bad commit on a branch on my remote bare repo, and I want to get rid of it before anyone pulls it down...11:42
Can I rebase it?11:42
BC-bd Scytale: I'd guess with filter-branch11:43
Chaser__ Cynos, you can and do push -f but thats not recommended instead revert the particular commit using git-revert11:45
dodo_the_last1 joined11:53
sswam joined11:54
sswam error: git-checkout-index: unable to read sha1 file of common (fedaaee6fa5c0006f5b7264732cb4e29584ef100) - while doing git clone git://git.collabora.co.uk/git/farsight2.git any idea what's the trouble there?11:55
my git too old?11:55
doener left11:55
doener joined11:55
jjuran doener: Agreed, but only one can be an 'active' topic branch, by definition. One of the conflicting topics must be demoted to 'inactive' until it gets rebased on top of the other one.11:57
abms1116 joined11:57
doener jjuran: hu? Why that? You can just merge one after the other to your "main" branch, fixing conflicts if they arise11:58
sswam so I did a git fsck-objects, it says there's a missing blob. How do I ask it to fetch that off the server?12:00
univate joined12:00
dodo_the_last left12:00
jjuran doener: The point is to keep them unmerged while I'm still working on them.12:01
freerobby joined12:02
doener jjuran: sure, but you can work on both on them "at the same time", switching between them12:02
jjuran: and then, at some point, you merge each one, and that can cause conflicts12:03
jjuran: and there's no need to rebase anything (which is even more likely to cause conflicts anyway)12:03
jjuran doener: The goal is to have a build which incorporates the topics, either because they have important fixes or new features I'm testing out.12:03
doener: Hence the ever-regenerated octopus merge called 'tip'.12:04
Cynos Chaser__ thanks for that. For some reason I never looked at git revert >_<12:05
Chaser__ no prob12:05
doener jjuran: so? That doesn't explain why you said "if they conflict, they're no topic branches"12:05
jjuran: topic branches may very well conflict, that's my whole point12:05
qrush joined12:07
jjuran doener: I'd rather discuss workflow than semantics.12:08
hummingkid left12:10
jepler_ joined12:10
keystr0k joined12:11
jjuran doener: I see the elegance in working on one topic at a time, but sometimes they're interdependent. Topic foo might be a bugfix required for feature bar, so I need to have them both active to verify that the bugfix works, or that it's still necessary at all.12:11
doener jjuran: this whole thing started by you saying that two branches with conflicting changes can't be topic branches. I said that that is too general. If your workflow doesn't allow branches to conflict, that's a totally different story, but doesn't justify the redefinition of a topic branch12:11
jjuran Okay, I withdraw the term 'topic branch' and substitute 'branch which shall be merged into tip'. :-P12:12
doener that, I can live with ("tip" is weakly defined, if at all ;-))12:13
(in general)12:13
and it's specific to your workflow12:13
lu_zero joined12:14
parasti joined12:15
rudi_s joined12:15
benjo2 left12:15
PhilK joined12:16
bs joined12:16
mw__ joined12:16
bs hi12:16
ddvlad_ left12:17
PhilK left12:18
jjuran sswam: If you have that object in another repo you can copy it manually.12:18
PhilK joined12:18
sswam I think I'll try cloning again with my mangled repo as a reference.12:19
rwadkins1 left12:20
galderz left12:26
benjo2 joined12:28
solydzajs left12:29
LRN joined12:30
galderz joined12:30
jepler left12:31
Aszarsha joined12:31
Cynos left12:32
tstclair joined12:32
[Po]lentino left12:34
gaveen left12:36
dsop hmm i wonder why I cannot clone just one branch from a remote repository using git clone.12:36
lottadot joined12:36
dsop or at least if I'm the only one who want to clone just a specific branch12:37
Cynos joined12:37
Cynos left12:37
doener dsop: the bandwidth/space savings are (usually) negligible. And the "main" repo of a project usually has few branches. For additional remotes, you can specify that you want just a single branch.12:39
dsop: But I kind of doubt that a patch would be rejected ;-)12:39
dsop yes. I'll look into the code, shouldn't be that hard to implement it12:39
ixti joined12:39
doener dsop: Actually, I found the clone code to be somewhat cryptic ;-) But I guess the limiting should be easier than the "adjust HEAD" stuff, for which I had to look at it12:40
gh34 joined12:40
Ryback_ joined12:41
freerobby left12:43
alienbrain joined12:43
mm_work joined12:44
alienbrain In git status I see: "typechange: <file>" what does typechange mean?12:44
jjuran alienbrain: I imagine it means the x bit of the permissions is toggled.12:44
ringlej how can I generate a list of all files being tracked by git so that it is usable as input to another command that accepts a list of file names from stdin?12:45
teuf git ls-files12:45
doener jjuran: that would be "mode change" IIRC12:45
jjuran alienbrain: Or it became a symlink, or vice versa. etc.12:45
ok, never mind12:45
LRN left12:45
ringlej teuf: thanks12:46
doener the symlink thing should actually be it12:46
alienbrain jjuran, there is indeed a permissions change on the file, but there are also changed contents and the --- is /dev/null; I think it was a symlink indeed! Thanks12:46
sitaram doener: could it also be git's internal view of whether the file is a text file or a binary file?12:47
doener sitaram: I don't think so. It's still a regular file. The text/binary thing should only be interesting for the diff/merge machinery12:47
sitaram ok12:48
just wondering...12:48
doener haha, great way to make me look stupid. The "typechange" is obviously produced by the diff machinery...12:48
abms1116 left12:48
lorandi joined12:48
doener but I hope you get what I actually meant, I fail to find words to explain it12:48
typechange is when the upper bits of the mode change, the file type. Regular file, symlink, submodule, ...12:50
jjuran doener: I think you're saying that Git plumbing doesn't interpret file contents as anything more than a bytestream.12:50
doener jjuran: yeah, that's pretty close to what I have in mind.12:51
JackWinter2 joined12:53
m-takagi joined12:53
_Vi left12:54
freerobby joined12:54
ruphy joined12:55
hakunin joined12:56
freerobby left12:56
Juice10 joined12:57
ntoll left13:00
hummingkid joined13:00
hummingkid left13:00
augustl joined13:01
ereslibre joined13:01
augustl hi! Is there a way to push to all of the remotes in .git/config with one command?13:01
vvsh left13:01
wereHamster you can have several urj's in one remote IIRC13:01
url's13:02
augustl ah. Can you recall the syntax to do this via a git-* command? Or does it require manual editing of .git/config?13:02
doener git remote | xargs -n1 git push13:02
wereHamster just edit the config file13:02
scarabx joined13:03
bnovc joined13:04
peper left13:04
augustl I see, thanks13:05
bnovc is there a way to have git update to a given time? e.g. update to whatever commit was HEAD on 01/01/09 or something13:05
ferdy joined13:06
bnovc git checkout `git rev-list -n 1 --before="2009-07-27 13:37" master`, apparently13:06
benjo2 left13:07
JackWinter left13:08
flazz joined13:08
teuf git checkout master@{2009-07-27 13:37} might work13:08
mdwright joined13:08
thiago it's not the same thing13:08
AnAnt joined13:08
thiago teuf's answer is more correct; a strict answer to the question13:09
j416 joined13:09
mdwright Does anyone remember what the earliest version of git that allows cloning to an empty dir is? Or at least approximately when it was introduced?13:09
engla teuf's answer works on the reflog, the local repository history only13:09
teuf: and you need to replace one space with a period (.)13:09
master@{two.days.ago} works without the shell splitting it13:10
doener mdwright: v1.6.2-rc0~137^213:10
mdwright doener: Thank you13:10
doener mdwright: git log --grep='empty directory' builtin-clone.c13:11
Scytale left13:11
AnAnt Hello, I am trying to do the a merge from a branch called 'upstream', and I get a lot of conflicts, can't I do the merge such that I get all changes from 'upstream', isn't there a "theirs" strategy ?13:11
teuf engla: do you mean that if I haven't pulled up to date stuff to master in years and if I just did a git pull master which gets me lots of commits, master@{1 week ago} will refer to the master from years ago, not master + commits older than 1 week that I just pulled?13:12
binjured joined13:13
maravillas joined13:13
augustl left13:14
engla teuf: I don't know the inner workings, but I think @{} works with the reflog. Anyway, my repo history goes back to 1. Dec 2007. And when I say git checkout master@{1.dec.2007} it says warning: Log for 'master' only goes back to Sun, 6 Sep 2009 01:55:21 +020013:15
teuf: on Sept 6 I deleted my copy and cloned it anew.13:16
teuf ah ok, interesting13:16
engla I agree that the same function, but working with different semantics would be great13:17
newest commit on branch now called master, not newer than 1.dec.200713:17
mdwright left13:17
rudi_s left13:20
ereslibre left13:23
scarabx left13:24
rudi_s joined13:24
roop_ joined13:24
ereslibre joined13:24
MisterN joined13:25
sergeykish left13:26
shruggar teuf, check the help for git rev-parse regarding --since and --until13:28
drubies joined13:30
proofek left13:33
zenwryly left13:33
zenwryly joined13:34
j416 left13:34
jnveqv joined13:35
romfert left13:37
roop left13:38
jdahm left13:39
AnAnt Hello ?13:42
romfert joined13:43
rapha cheep13:43
sitaram tweet13:43
Rhonda dent13:43
jjuran O HAI13:43
AnAnt I am trying to do the a merge from a branch called 'upstream', and I get a lot of conflicts, can't I do the merge such that I get all changes from 'upstream', isn't there a "theirs" strategy ?13:44
intripoon left13:44
Rhonda Is it possible to extract a git binary patch into a real file without applying it to some git repository?13:44
spearce joined13:45
jjuran AnAnt: Do you want to start over from upstream, or merge your changes?13:45
To start over, git reset --hard origin/upstream13:45
AnAnt merge my changes13:46
agile left13:46
tango_ left13:46
jjuran I recommend against blindly accepting 'their' changes. I would try merging in upstream a bit at a time.13:46
AnAnt but is there a way to blindly accept their changes ?13:47
my changes are in files that are not in 'upstream'13:47
calin joined13:47
AnAnt so 'upstream' changes files x y z ...., and my changes are in a folder called 'debian/'13:48
jjuran AnAnt: Oh, that's easy, then.13:48
AnAnt jjuran: how ?13:48
aziz joined13:48
jjuran AnAnt: git checkout upstream; git checkout mybranch files/i/changed; git commit13:48
dsop how do I get a list of changed files between two tags?13:49
jjuran dsop: I heard it's git diff --name-only foo bar13:49
AnAnt: You probably want to create a new branch to do the merging, but you get the idea.13:50
ereslibre_laptop joined13:51
squentin joined13:52
cjkvqo joined13:53
jnveqv left13:55
ereslibre left13:55
ph^_ left13:56
GNUtoo joined13:58
Sho_ left13:58
jerbear joined14:00
marc_kdab left14:01
ctusar joined14:01
TeckniX joined14:02
qrush left14:03
qrush joined14:03
suman_ joined14:04
sh1mmer left14:04
romfert left14:05
cmarcelo joined14:06
jlf_away left14:06
doki_pen how do I export a set of commits to file?14:07
Rhonda doki_pen: git format-patch14:08
doki_pen Rhonda: ah, that's right! ty14:08
Pieter or git bundle14:09
doki_pen Pieter: ah, I never used that one14:10
segher joined14:12
InTheWings joined14:13
InTheWings Is that normal to have stashed changes pulled from master ?14:13
doener that question makes no sense to me14:14
drubies left14:15
drizzd_ same here14:15
AnAnt left14:15
doener the "master" branch shouldn't have stash entries in its history, and "pull" is "fetch + merge/rebase", so that makes even less sense14:15
parasti left14:16
InTheWings Well, i have some stashed changed in my stash stack, and that's not mine14:17
so I guess these have been 'pulled' from repo14:17
s/stashed changed in my stash stack, and that's not mine/stashed changes in my stash stack, and these arent mine/14:18
jlf` joined14:18
peper joined14:19
romfert joined14:19
ProperNoun joined14:20
mastro left14:20
icwiener_ joined14:21
nh2 joined14:22
tango_ joined14:22
nh2 is Git able of showing me the git log of a given commit or do I have to check it out first?14:23
mivok joined14:24
Ilari nh2: 'git show <commit>'?14:24
nh2: Or 'git log <commit>'?14:24
Bass10 joined14:25
freerobby joined14:26
nh2 Ilari: indeed, thanks. I could not make that out of the syntax of man git-log, but it seems that is <since>14:26
Gitbot Ilari: the git-log manpage can be found at http://git.or.cz/man/git-log14:26
calin left14:26
drizzd_ InTheWings: no, that's not normal. The stash is always local.14:27
icwiener left14:27
torarne joined14:27
InTheWings drizzd_: yes, that's what i guess, something is wrong14:27
drizzd_ Maybe a hook is doing this?14:28
Or someone else had write access to your repo?14:28
hugoxrosa joined14:28
johan-s left14:29
ferdy left14:30
btcnlf joined14:30
romfert left14:32
InTheWings drizzd_: I don't have write access to repo. I only contribute through patchs14:32
cjkvqo left14:33
flazz left14:34
loincloth joined14:35
flazz joined14:35
jrmuizel joined14:38
Swimming_Bird joined14:39
maattd left14:42
johan-s joined14:42
brendon_work left14:43
mbroeker joined14:45
xymbol can someone point me to a good tutorial about managing multiple remotes? I need two local branches pointing to master on different repositories14:45
flazz left14:45
johan-s left14:45
bcardarella joined14:45
romfert joined14:46
altrux joined14:46
przemoc left14:46
btcnlf left14:47
sitaram xymbol: just make two "remotes". git remote add remoteA <url of remote A>, then the other one14:48
Mikachu git remote add otherplace git://woo.com; git checkout -b othermaster otherplace/master14:48
sitaram then "git fetch remoteA" and "git fetch remoteB"14:48
doener remote add -f ....14:49
sitaram aah! even better14:49
doener or a fetch inbetween remote add and checkout -b14:49
Mikachu oopsies14:49
xymbol sitaram: did that already; though I'm not sure if each branch is correctly set up to pull/merge back to each remote14:49
doener: thanks!14:49
sitaram xymbol: if unsure, you can fetch and push explicitly, without worrying about the defailts etc14:50
doener IIRC "git remote show <name>" shows which local branch heads have a "pull" configuration that uses this remote14:50
xymbol sitaram: good point :-)14:50
Turias joined14:51
ciscbrain left14:51
xymbol doener: tried that, I see correct configuration for git pull; I understand git push is broken though (master pushes to master (local out of date))14:51
tedoc2000 joined14:51
xymbol sitaram: explicit push does work14:52
ereslibre_desk joined14:52
sitaram xymbol: and for what it is worth, that is what I do mostly now; rarely use the defaults anymore...14:52
xymbol sitaram: maybe you're right, less magic14:53
sitaram there's been a fair amount of churn in that area, new options, new messages... so I sorta backed off :)14:53
Mikachu shouldn't git push -v --dry-run tell you what happens too?14:53
sitaram yess, less magic. Plus I also teach so it's useful to give people a "baseline" that is easy to understand14:54
Mikachu: I guess I never tried... /me tries14:54
xymbol Mikachu: yes, and push is failing: git push doesn't push; git push remotename localbranch:remotebranch does)14:54
Mikachu xymbol: ah, i doubt automagic push can 'rename' branches14:55
xymbol: you can set it up in your .git/config though14:55
just put in push = localbranch:remotebranch lines14:55
xymbol Mikachu: that's probably what I missed14:55
Neo_The_User joined14:56
ruffyen joined14:56
Neo_The_User how do you undo a merge that you just did and has 200 conflicts?14:56
Mikachu Neo_The_User: git reset --hard14:56
Neo_The_User: assuming you didn't have anything you want to save that you haven't committed14:56
Neo_The_User correct14:56
thanks!!14:56
Mikachu i should probably have said that in the other order14:57
Neo_The_User worked too XD14:57
Neo_The_User left14:57
ruffyen im curious if i have two computers using git and one repo, and I create a branch on computer(1) commit then do git push origin master....if i do a git pull origin master from computer(2) will i get the branch as well?14:57
Mikachu ruffyen: no, pull only merges one branch14:58
xymbol Mikachu: push.default or remote.name.push?14:58
Mikachu xymbol: the latter14:58
ruffyen Mikachu: so how would i get teh branch in the repo14:58
Mikachu and "name" is a placeholder there14:58
ruffyen: git fetch14:58
xymbol Mikachu: thanks! ;-)14:58
ruffyen so git fetch <branchName>?14:59
killerchicken_ joined14:59
agile joined14:59
Mikachu ruffyen: no, just git fetch14:59
killerchicken_ how can I view a diffstat for a random commit in my history?14:59
Mikachu killerchicken_: git show --stat anyrandomcommit15:00
ruffyen how does it get from computer(1) into the repo though...i dont have to do anything special?15:00
Mikachu ruffyen: oh you did 'push origin master' yeah then it won't be in the remote repo15:00
ruffyen: you have to git push origin thenewbranch15:00
killerchicken_ Mikachu: great, thanks!15:00
ruffyen ah ok15:00
Mikachu: thanks15:00
thats what i need15:00
xymbol Mikachu: awesome, that was it!15:01
doener Mikachu, xymbol: push.default = tracking can do renaming15:01
sde_antrix left15:01
doener it will push the checked out branch to the branch from which it would pull15:01
xymbol doener: yes, I thought so; that makes the push config follow fetch's, right?15:01
Mikachu o15:01
xymbol doener: cool, thanks!15:02
sswam left15:03
xyz joined15:03
jrmuizel left15:04
Swimming_Bird i'm getting this strange thing where there are some head errors with git svn15:04
i cant rebase for the life of me15:04
kraymer_ joined15:05
rkirti left15:06
sh1mmer joined15:08
Thell joined15:08
LiamH joined15:08
evildmp joined15:09
PuffTheMagic joined15:09
hobodave joined15:09
ereslibre_laptop left15:09
evildmp how should I roll back to <some_commit>?15:09
git revert <some_commit>?15:09
sitaram reset15:10
wereHamster roll back is reset --hard15:10
sitaram revert creates a new commit on top that is the inverse of <commit>15:10
evildmp maybe I am using the wrong term15:10
Thell Quick question: I seem to remember reading somewhere how to have git echo out a value it is using for an env variable. like 'git --exec-path', but I'm wanting to see the GIT_SSH value it is using. Any idea or is my memory wack?15:10
sitaram that would not be "rollback"15:10
evildmp I have a list of commits in git log15:10
wereHamster or not hard, depending on what you want to do15:10
evildmp these are commits I have got from the repo15:11
PuffTheMagic left15:11
PN joined15:11
evildmp and I want to see if a problem goes away when I go back a couple of commits15:11
sprsquish left15:12
wereHamster evildmp: man git-bisect15:12
Gitbot evildmp: the git-bisect manpage can be found at http://git.or.cz/man/git-bisect15:12
evildmp so I can see the one I want, and it has a commit id by it - how to I turn bakc the clock to that point15:12
sitaram Thell: I'm not sure what you mean; but git rev-parse does echo out some internal stufflike --git-dir etc15:12
ruffyen left15:12
sitaram not env vars thought15:12
though*15:12
Thell sitaram: I must be mis-remembering15:13
wolog joined15:13
Thell Can't find anything grepping the help files that is what I was thinking either15:13
kraymer left15:13
sitaram evildmp: if you want to temporarily go to a particular commit (two commits prior as you said) just to test, you can do "git checkout master^^" but do *NOT* make any commit on this until you come back with "git commit master"15:14
romankrv left15:14
evildmp i am not commiting anything, just reading15:14
sitaram evildmp: if, however, you want to permanently lose those 2 top commits, git reset --hard master^^15:14
evildmp: then checkout is probably best15:14
evildmp sitaram: I can always git update to get them back, can't I?15:14
Mikachu they'll still be in your reflog too15:14
sitaram evildmp: I dont know any "git update" but "git checkout master" will15:15
evildmp sorry, I meant git pull15:15
I was getting confused with hg15:15
sitaram sure it would15:15
jettero what is the state of things for windows+git?15:15
I never tried it15:15
sitaram works fine...15:16
a lot of people in my teams use msysgit15:16
PuffTheMagic joined15:16
Mikachu bash is terrible in cmd.exe though15:16
jlf` hi #git, i'm having trouble getting gitolite set up. i've run src/gl-compile-conf which happily created the repos, and i installed my public key. i followed the instructions in 3-faq-tips-etc to populate an empty repo on a client and push, but i see "! [rejected] master -> master (non-fast forward)" any advice?15:16
fhr joined15:17
jettero is there a gui for it? my windows peeps aren't going to use it if they have to type things15:17
sitaram jlf`: if you got that far you're well past gitolite probles :)15:17
Ilari jlf`: That repo isn't empty...15:17
sitaram jlf`: what does "git ls-remote origin"say15:17
botanicus left15:17
cj joined15:18
jlf` 8dc3daa665ddc030993d10c8a35adfa9af901566 HEAD 8dc3daa665ddc030993d10c8a35adfa9af901566 refs/heads/master15:18
15:18
cj hey all15:18
how do I get a diff between the local master and the origin master?15:18
Mikachu cj: git diff master origin/master15:18
sitaram jlf`: as Ilari said, your remote has commits in it already, so pullfirst15:18
cj Mikachu: thanks15:19
ToxicFrog jettero: there's git-gui (basic graphical interface) and gitk (for examining history); I believe there's also a TortoiseGit now, too.15:20
schacon joined15:20
jettero ToxicFrog: thanks. I'm reading the things on the git wiki too15:20
sitaram jettero: a few things will always need typing but none of the day-to-day stuff is in that category15:21
jettero it looks like there's a few choices15:21
jlf` sitaram: git pull origin -> You asked me to pull without telling me which branch you want to merge with, and 'branch.master.merge' in your configuration file does not tell me either.15:21
sitaram jettero: there'salso "gitextensions"15:21
jettero looks like regular old git-gui will do most everything15:21
jlf` (sorry, i'm new at using remote repos if it wasn't obvious already :)15:21
sitaram jlf`: did you do any stuff on your local side; perhaps you should first clone, since your remote seems to have content already15:22
jlf`: otherwise, 'git config branch.master.remote origin;git config branch.master.merge refs/heads/master'15:22
jlf` hmm, not sure why it would since i've only done gl-compile-conf15:22
sitaram jlf`: perhaps you're using some other repo than the one you set up with gitolite, because if your git ls-remote showd you that stuff, it's certainly not an empty repo15:23
justin-george joined15:23
sitaram showed15:23
ProperNoun left15:23
sitaram jlf`: humor me and clone to some other (empty) directory... then run "git log" on that clone see what comes up15:24
ilteris left15:24
ilteris_ilteris15:24
ilteris___ joined15:24
Arild joined15:25
maattd joined15:25
jlf` sitaram: that command line worked, and i see from the output that you are correct -- i believe i specified the url wrong and it was pulling from jlf@remote-server:~/repo.git instead of jlf@remote-server:~/repositories/repo.git15:26
Ilari jlf`: Ugh. Neither should be valid.15:27
jlf`: For gitolite.15:27
jlf` where repo.git in ~ was an earlier attempt before i learned that i need gitolite15:27
bgerber left15:27
sitaram jlf`: so that repo is still around and you're still using it...! I suggest safely renaming it (like "repo.old.git.NOT" ;-) and then continuing with gitolite15:28
adeodatus joined15:28
marvil07 joined15:28
JNR___ joined15:28
roop__ joined15:28
jlf` sitaram: done15:29
i believe i entered the wrong origin in the line `git remote add origin git@gitolite-server:my-new-project.git' from the faq -- if i am [email@hidden.address] and i want the remote to my [email@hidden.address] , how should that line read?15:30
sitaram jlf`: ok next, your url on client should simply be "user@host:repo.git"15:30
jlf`: your gitolite repo is always <user>@<host>:<reponame as it appears in the config file>.git15:30
nothing more or less15:31
jlf` hmm.. that's what it was before. could the presence of ~/repo.git confused it?15:31
sitaram definitely not the repositories/ bit15:31
agib joined15:31
sitaram jlf`: no15:31
aatanasov left15:31
Ilari sitaram: Is 'ssh://<user>@<host>:<port>/<reponame>.git' handled correctly (that appears as '/<reponame>.git' on other end)?15:31
jlf` the repositories bit was never part of a command, i was just saying which one i wanted to use15:32
sitaram Ilari: yes15:32
fualo joined15:32
Ilari jlf`: If jlf is account gitolite is using, specifying ~/ in URL should cause permission denied error.15:32
sitaram Ilari: it expects an optional leading slash15:32
expects => accepts I guess15:32
agib does anyone know the deal with the "error: object directory ... " errors on github now?15:33
Ilari agib: pushing or fetching?15:33
agib: And what's the exact error?15:33
agib Ilari: pushing15:33
[Po]lentino joined15:33
agib error: object directory /data/git/repositories/4/c8/56/e4/pluginaweek/state_machine.git/objects does not exist; check .git/objects/info/alternates.15:34
actually pushing and fetching15:34
sitaram jlf`: just type in "git ls-remote user@host:repo.git" and see what it says15:35
Ilari jlf`: try 'ssh user@host' (where user@host is exactly as it appears in the URL). You should get error message (it also displays what you authenticated as).15:35
agib: Err... .git/... WTF?15:35
agib: Does that '.git/objects/info/alternates' exist locally?15:36
agib no15:36
info/ is an empty dir15:36
sh1mmer left15:37
meanburrito920_ joined15:37
agib weird.. lot of people bringing up the issue on github's tender... but can't find a resolution15:37
it doesn't seem to be a fatal error though... i.e. I think the push worked15:37
ntoll joined15:37
jlf` sitaram, Ilari: see http://paste.lisp.org/+1VRS15:38
jrmuizel joined15:39
hobodave hey guys15:39
sitaram jlf`: you cannot use the same pubkey for shell access *and* gitolite access15:39
flazz joined15:39
hobodave if I have uncommitted changes in my working directory, is it possible to create and switch to a new branch without losing these or committing them to my current branch?15:40
LOAST joined15:40
LOAST can some one help me with sony sound forge??????15:40
hobodave LOAST: are you serious?15:40
LOAST ya15:40
jlf` sitaram: oh ok.. sorry if i missed that in the docs, let me rectify15:40
drizzd_ hobodave: git checkout -b newbranchname15:40
sitaram jlf`: if you have time please read http://sitaramc.github.com/0-installing/9-gitolite-basics.html -- it will explain all the ssh magic behind this and why this doesnt work, then see footnote #2 in the install document at http://github.com/sitaramc/gitolite/blob/master/doc/0-INSTALL.mkd15:40
LRN joined15:41
hobodave drizzd_: thanks drizzd_ I wasn't sure if that would trash y working directory15:41
Levenson joined15:41
drizzd_ hobodave: it won't15:41
LOAST does any one one know where i could ask that q to???15:41
JNR___ left15:41
Levenson left15:41
JNR___ joined15:42
roop_ left15:42
hobodave LOAST: http://superuser.com/15:42
bgerber joined15:42
LOAST thank you15:43
jlf` sitaram, Ilari: thanks for your help, sorry it came down to me not reading carefully enough :)15:43
sitaram jlf`: no problem; did it work now?15:44
LOAST left15:44
jlf` i actually have to go for a meeting now but i'll try it in a bit15:44
it seems very likely that's the issue though15:44
hyperair joined15:45
sitaram ok15:45
be sure to read those 2 items if/when you have time15:45
jlf` will do, thx again15:45
jlf` left15:46
drewolson joined15:46
giallu left15:46
Escafane left15:48
xyz left15:48
adeodatus left15:49
pflanze left15:50
PNProperNoun15:52
ndim left15:55
ablemike joined15:55
elmob joined15:56
jkp left15:56
justin-george left15:56
jaysern left15:58
sh1mmer joined15:58
smuf joined15:59
alley_cat joined16:00
patmaddox joined16:00
kumbayo joined16:01
Cesario left16:01
elmob left16:02
meanburrito920_ left16:03
wolog left16:04
schacon left16:05
evildmp_ joined16:07
Theravadan joined16:07
drewolson left16:07
wolog joined16:07
TeckniX left16:10
godsflaw joined16:10
TeckniX joined16:11
dwmw2_gonedwmw2_OLM16:11
tbuehlmann joined16:12
jepler_ left16:13
evildmp_ left16:14
evildmp left16:14
jepler joined16:14
ereslibre_desk left16:16
wolog left16:18
elmob joined16:19
jchris left16:19
ndim joined16:19
jchris joined16:20
onigiri joined16:21
JohnFlux left16:21
p_masho joined16:21
jepler can someone point me at a discussion of why 'git rebase --whitespace=fix -i' isn't accepted?16:21
Thell jepler: I can't point to a discussion, but I think that using 'apply.whitespace fix' might work in that situation16:22
p_masho newbie question. I'm using svn as a main repository so I want to be careful I dont mess this up. Can I add a gitignore to a subdirectory ? we got a main-repos and underthat around 4 "sub-project" directories.. or does it have to be top level. I want some developers to only checkkout the "subproject"16:23
p_masho trying to convert my company to git..16:23
engla you can have .gitignore files in any folder16:23
wolog joined16:23
tillberg joined16:23
jepler Thell: or doing 'git rebase --whitespace=fix' followed by 'git rebase -i'16:23
engla I think they stack with the closest first16:24
tillberg left16:24
Thell jepler: nifty, I'll try to remember that one!16:24
p_masho brilliant...16:24
galderz left16:25
Teo` left16:25
jepler p_masho: unlike svn or cvs, you can't really check out only part of a git project (but git does have subprojects, which I haven't made myself familiar with yet)16:26
Teo` joined16:26
p_masho another newbie question.. I see that if I do commits locally with git, then "push" dcommit to svn, is there a way to make one en masse commit, instead of all the "local" git commits I made. The man page is a confusing me a bit really..16:26
tillberg joined16:26
godsflaw not sure if this is a late meme or not: http://xkcd.com/624/16:27
p_masho jepler: our companies using svn as their main repos atmo. Shoudl this "test" on thsi project work with git-svn then we might actually break stuff up, maybe..16:27
jepler p_masho: based purely on the docs of git-svn, it sounds like dcommit will always create 1 svn commit for 1 git commit16:28
jlf` joined16:28
kevlarman p_masho: you can use rebase -i to squash all the local commits into one16:28
patmaddox left16:29
engla p_masho: or merge topics into the main git branch by merge --squash, then push that branch16:29
GarethAdams|Work left16:30
tongueroo joined16:32
sergiodj left16:33
herlo joined16:33
elmob left16:34
shruggar left16:34
c15c8ra1n joined16:35
pflanze joined16:36
froschi left16:38
Juice10 left16:39
p_masho kevlarman: engla what I'm having a lot of options here.. :-)16:40
so can you advice me.. One of the problems we have is that with svn, every little commit is "logged", its actually a pain, henve git..16:41
So initially the idea it to >> git svn "pull", >> then create a git branch locally, then play in branch/commit, >> then when ready merge branch into master >> ?? rebase ?/ >> git svn dcommit as one "blob"16:43
Mikachu "blob" actually means something in git so call it something else, or you'll be confused :)16:43
p_masho I meant one commit of all teh local commits16:43
DaveIngram joined16:44
p_masho oops ...............................all the local commits.16:44
b0fh_ua joined16:45
b0fh_ua hello! is there any way to synchronize existing SVN repository with existing git repository?16:45
qrush left16:46
hyperair left16:47
hyperair joined16:48
dwmw2_OLMdwmw2_gone16:48
tafryn left16:48
mnick left16:48
DavidKlein joined16:49
kraymer_ left16:50
noginn left16:50
godsflaw left16:50
plediii joined16:50
wolog left16:51
mrlemao joined16:53
mrlemao left16:54
sh1mmer left16:54
b0fh_ua left16:54
fualo_ joined16:55
abms1116 joined16:56
krawek joined16:56
abms1116 left16:56
qhoxie joined16:57
abms1116 joined16:57
sh1mmer joined16:57
godsflaw joined16:58
herlo is looking for any good pre-receive hooks which can check syntax of a particular subset of committed files.16:58
abms1116 left16:58
pheaver joined17:00
mattcodes joined17:01
lu_zero left17:01
mattcodes cloned a super project which contains some submodules, these weren't fetched initially, so i read you do git submodules init17:01
followed by git submodules update17:01
and voila17:01
abms1116 joined17:01
mattcodes I tried that but I enter the wrong private key twice17:01
I know what it is now (sorry I meant passphrase), but now it wont update17:02
the submodule directories are empty aside from .git17:02
abms1116 left17:02
mattcodes I've rather not do a fresh clone... what the steps to manually retrieve submodules?17:02
abms1116 joined17:03
stamina left17:03
abms1116 left17:04
WALoeIII joined17:05
vvsh joined17:06
mattcodes done a fresh clone and all showing now, but would still like to know how to force update of submodule17:08
abms1116 joined17:09
romfert left17:09
abms1116 left17:10
Theravadan left17:10
^Einstein joined17:10
abms1116 joined17:10
abms1116 left17:11
abms1116 joined17:12
Thell I'm getting a 'can't unlink' permission denied on a submodule just added to a topicBranch when I switch back to master. Checked google and found one thread mentioning permissions on object dir 16. Which I don't have. All the dirs I do have show the same permissions. Any direction on where to troubleshoot this?17:13
bugfux joined17:15
Chaser__ left17:15
[Po]lentino left17:16
reidab joined17:16
fualo_ left17:16
fualo_ joined17:16
T2000-lap left17:19
lhz joined17:19
psoo left17:20
bentob0x joined17:22
til77 joined17:22
Theravadan joined17:23
Adlai left17:24
Adlai joined17:24
qrush joined17:25
sergiodj joined17:25
ablemike left17:26
GNUtoo left17:27
patrikf joined17:28
Thell It seems that I need to reset and clean to get rid of the unlinkable submodule dir.17:28
|Inthewings| joined17:29
Thell wonders if this may be a windows issue.17:30
Mikachu you can't unlink open files on windows, that could be it?17:30
schacon joined17:30
jlf` sitaram: your suggestion did fix that issue, thanks again for your help17:31
Thell Mikachu: I thought of that and closed every explorer/file browser type thing I have open17:31
dreiss joined17:32
Thell it doesn't _seem_ to be hurting anything17:32
godsflaw left17:33
sitaram jlf`: you're welcome!17:33
tfarina joined17:33
DaveIngram left17:34
Adlai left17:35
Adlai joined17:36
sh1mmer left17:36
hakunin left17:37
Arild4 joined17:37
DaveIngram joined17:37
ixti left17:37
godsflaw joined17:38
trochala left17:38
sh1mmer joined17:38
InTheWings left17:39
khmarbaise joined17:41
hyperair left17:41
gitte_ joined17:41
jkp joined17:43
tono left17:44
smuf left17:44
gitte left17:44
gitte_gitte17:45
ablemike joined17:45
roop__ left17:45
rudi_s_ joined17:46
mattcodes left17:46
frederga_ joined17:48
patmaddox joined17:48
justin-george joined17:49
azol joined17:49
lorandi left17:52
lorandi joined17:52
rcy joined17:52
Arild left17:53
Arild4Arild17:53
frederga_ left17:54
frederga__ joined17:55
mattcodes joined17:55
amerine joined17:55
mattcodes How do I add tracking to an existing local branch (experiment) that already has a few commits. I've just pushed it now to my hosting provider, and I want to link it up so in future I can git push to the branch on the git server17:57
patcito joined17:57
rylar_offrylar17:58
godsflaw_ joined17:58
jason237 git config branch.<name>.remote/merge17:58
Grahack joined17:59
godsflaw_ left17:59
godsflaw_ joined17:59
EricInBNE left18:00
mattcodes jason where do I specify the branch on the server? on the server its origin/experiment18:00
godsflaw left18:00
jason237 branch.<name>.remote is the name of the remote for the server, branch.<name>.merge is the ref on the server, i.e. refs/heads/experiment18:01
mw__ left18:01
jettero ok yeah, the webosinternals terminal app rocks18:02
dunno why I never tried it before18:02
wrong channel, please ignore me18:02
mattcodes sorry jason Im confused where I do the subsitution..18:02
dpino left18:02
jason237 I'm not sure what you mean. You need to add the information about the remote branch to your .git/config18:03
rudi_s left18:03
jason237 via git config branch.experiment.remote origin; git config branch.experiment.merge refs/heads/experiment18:04
tjafk1 left18:04
mattcodes ah so I do "git config branch.experiment.remote origin" and then "git config branch.experiment.merge /refs/heads/experiment">18:04
jason237 yep18:04
mattcodes yep you beat me to it18:04
tjafk joined18:04
mattcodes thanks! :)18:04
thiago without the leading slash18:04
drubies joined18:04
GarethAdams|Work joined18:05
sprasanna joined18:06
Sigma joined18:07
loops left18:12
krisfremen joined18:13
krisfremen hiya everyone18:13
cantoma left18:13
DaveIngram left18:13
krisfremen i was wondering if there's something.. like a script that will auto commit whenever there's a file change in the repo?18:13
notjohn joined18:15
krisfremen ohhkay.. i didn't just ask that...18:16
my brain isn't working18:16
orospakr joined18:16
mattcodes on my commit messages on branches the author is showing as unknown18:17
ignore18:18
was testing between PC and laptop and didnt set up globals on laptop18:18
azol left18:18
drizzd joined18:18
DaveIngram joined18:20
DaveIngram left18:21
ryoma joined18:21
Nazcafan joined18:21
Nazcafan hello18:21
pheaver left18:22
mattcodes left18:22
loincloth left18:23
DaveIngram joined18:24
DaveIngram left18:26
alienbrain left18:26
Cesario joined18:27
sprasanna left18:27
sh1mmer left18:28
sh1m joined18:28
jerbear left18:29
wolog joined18:30
pdherbemont joined18:31
psynaptic left18:32
pdherbemont left18:32
pdherbemont_ joined18:32
hydrogen joined18:34
tillberg left18:34
tillberg joined18:35
pdherbemont_ left18:36
ablemike left18:36
pdherbemont joined18:37
azol joined18:37
drizzd_ left18:38
DaveIngram joined18:38
loincloth joined18:39
tango_ left18:40
magcius joined18:41
mw__ joined18:41
ryoma left18:42
smotchkkiss joined18:42
ryoma joined18:44
pheaver joined18:46
simplecoder_ joined18:51
hydrogen left18:52
simplecoder_ left18:52
cmarcelo left18:52
pheaver left18:52
_Vi joined18:53
c15c8ra1n left18:54
cantoma joined18:54
abms1116 left18:55
khmarbaise left18:55
lu_zero joined18:56
mbroeker left18:56
icwiener_ left18:57
pheaver joined18:57
j2labs joined18:58
jceb joined18:58
sun_ joined18:59
oven joined19:00
stribog joined19:00
stribog left19:00
Thell any ideas on why in one repo a submodule add works perfectly, and in another repo on the same machine at the same dir level that same submodule add freezes at Initialized empty git repo ?19:00
solsTiCe left19:01
sun_ hi i am trying to merge something i fetched. there's a subtree which has a bunch of tempfiles which changed between the 2 commits, and so i put it in .gitignore, but git merge says unmerged files in that tmp dir. so then i just said git commit, and it says bstat/bstate/junk[etc].html needs merge, error building trees. i put this subtree in the .gitignore but its still trying to merge it, how do i get git to forget about that subtree?19:01
j2labs After I've added a remote, I'm not sure whether I should prefer fetch or pull. Can someone help me understand the difference?19:01
Thell pull == fetch + merge19:01
alley_cat left19:02
Thell boind just fetch, you can check and see what was fetched prior to merging19:02
s/boind/doing19:02
tstclair_ joined19:02
markelikalderon joined19:02
Nazcafan left19:02
Thell AHA! It didn't freeze, just took forever to do. Yippie.19:02
sun_ j2labs the best advice i got was to use fetch and then merge until you understand what they do, then experiment with pull and see if it still does what you want, since it has a lot of defaults which do things you dont want and wont notice until much later19:03
oven I use git-svn. I have a release branch in svn called r12 and a local-r12 tracking that. I have master tracking svn trunk. I've done a bug fix on local-r12, and dcommit-ed it. Now I want that change in trunk as well. Should I cherry pick it or try something like merging local-r12 onto master?19:03
sun_ hi anyone know how to get git merge to ignore a subtree of tmpfiles after they've been fetched? putting it in .gitignore is not working..19:04
patmaddox left19:05
oven sun_: are the tmpfiles in git? Should they be? If not, why not delete them?19:05
sun_ oven yes they are. how do i delete them?19:06
oven sun_: git rm <filename>, then git status to show what you've done, then git commit -m "deleted some tmpfiles"19:06
jchris left19:06
tstclair left19:07
meanburrito920_ joined19:07
Thell they were fetched though right? Not merged? So they aren't in your local branches?19:07
tillberg left19:07
elmob joined19:07
tillberg joined19:08
bnovc git forced me to do a merge commit when i pulled in a change and i can't figure out how to correctly compact these commits19:08
i tried `git rebase -i HEAD~1` but it only lists the 2nd item and it says i need two things19:08
i tried manually listing my HEAD above it and that failed as well19:08
patrikf left19:09
cantoma left19:10
magcius left19:11
sun_ oven thanks! worked like a charm!!19:11
sun_ left19:11
j2labs git fetch name_of_remote is the right syntax, correct?19:14
cuz i think github just hung up on me... :(19:14
ablemike joined19:15
oven anyone know a bit of workflow in svn with remote branches?19:15
DaveIngram left19:15
impulze looks at the channel name19:16
magcius joined19:16
j2labs oven: this is #git19:16
oven impulze: well, I meant git-svn19:16
sorry19:16
herlo left19:16
fualo_ left19:16
oven is there a dedicated channel for git-svn?19:17
fualo_ joined19:17
MisterN oven: why should there be?19:17
plediii left19:18
oven I've read about every blog entry about using git-svn with remote branches, but not a single one of them has mentioned how to merge or copy changes from one remote branch to another19:19
vvsh left19:19
oven anyone have real experience doing this?19:19
or a pointer to someone who has written about it?19:19
tedoc2000 left19:19
Adlai left19:20
oven I could of course not do this with git-svn, but instead use my svn client directly against the repository to do the merge, but that would be a bit like admitting failure.19:20
godsflaw_ left19:20
darrinholst joined19:21
mnick joined19:22
darrinholst Is a git push over ssh atomic? i.e. What happens when 2 pushes happen at the same time?19:22
thiago_home it's atomic per branch19:23
ablemike left19:23
thiago_home either you update the branch, or you don't19:23
however, if you push 2 branches and someone else pushes to one of your branches, you may get one branch updating but not the other19:24
przemoc joined19:24
oven MisterN: because noone seems to want to say anything about git-svn here :)19:24
thiago_home oven: what other questions (besides yours about overflow, which I didn't understand) went unanswered?19:25
Ilari darrinholst: Without forcing, first push succeeds and the second gets either non-fast-forward error or locking failure. If second forces, it will overwrite first user's changes or get locking failure.19:26
darrinholst: (and this happens per ref/branch).19:26
darrinholst Ilari: ok, thanks? So that locking happens in git-receive-pack?19:27
Ilari darrinholst: Compare-and-swap operation on ref (branch).19:27
jrmuizel left19:28
jrmuizel_ joined19:28
Ilari One gets locking failure if the compare and swap fails (incorrect old value).19:28
jrmuizel_jrmuizel19:28
godsflaw joined19:28
_Vi left19:28
darrinholst cool, thanks19:28
Ilari darrinholst: All "smart" transports (file://, ssh:// and git://) have the same atomicity in pushes (since they share the layer 7 protocol).19:29
darrinholst: (not that git:// is usable for pushing due to lack of authentication).19:30
oven thiago_home: I've got a remote branch in svn called r12, and a local-r12 that tracks it. Then I've got master tracking svn trunk. Now, I've committed a bugfix to local-r12, and dcommit-ed it to r12. I want that bugfix on trunk as well. What to do?19:30
Would it be wise to do git checkout master ; git pull . local-r12, for instance?19:30
Ilari oven: checkout master, cherry-pick the fix and dcommit.19:31
oven or should I try cherry picking the fix?19:31
Ilari: right19:31
Ilari oven: Merging (pull is fetch + merge) and SVN don't mix.19:31
oven I suspected as much...19:31
thiago_home oven: cherry-pick, remove the git-svn-id lnie19:31
line19:31
oven thiago_home: oh?19:31
cantoma joined19:31
oven thiago_home: why is that?19:32
thiago_home git-svn needs to be told that it's a new commit, not one from SVN19:32
|azol| joined19:32
oven oh...19:32
thiago_home if it sees the git-svn-id line, it thinks the commit came from SVN19:32
then it won't send it again19:32
oven oops, that's scary19:32
I may have done that already19:32
yann left19:34
Ilari oven: Wonder what it did...19:34
oven Ilari: it looks like it got a new git-svn-id, actually19:36
Ilari oven: Does that ID look reasonable?19:37
Adlai joined19:37
rfay joined19:37
rfay I'm afraid this is a stupid question, but I'm not finding it. I want git diff to always use --no-prefix. Can I set that with git-config? Or somehow?19:38
darrinholst left19:38
azol left19:38
oven Ilari: http://pastebin.com/m2f20951719:38
Ilari: Yes, I would say so19:39
Adlai rfay: if it's possible, it'll be under the man page for git-config19:39
man git-config19:39
Gitbot Adlai: the git-config manpage can be found at http://git.or.cz/man/git-config19:39
DaveIngram joined19:39
oven Ilari: this example is the other way around, though... a bug fix on trunk that needed to be on r1219:39
rfay Adlai, thanks. But I don't find any listing there. I figured this might be a more generic thing, like there's a way to set the default args for any command.19:39
^Einstein left19:40
Adlai rfay: doesn't look like it's possible to me, either.19:41
rfay Adlai, much appreciated.19:41
oven Ilari: the sha1 is of course different as well, as it's been rebased onto the other branch19:41
markelik_ joined19:42
markelikalderon left19:42
til77 left19:42
oven I've got a feeling that svn and git don't mix all that well :) There are some very fundamental differences that show up particularly well when you use multiple branches in svn :)19:42
yann joined19:43
jceb left19:45
MarkAlanEvans joined19:45
MarkAlanEvans What do i do about an error like this: error: Untracked working tree file 'app/tmp/cache/cake_model_default__zuujit_item_types_list' would be overwritten by merge.19:45
carrus85 joined19:45
pflanze left19:46
kiva left19:47
kiva joined19:47
meanburrito920_ left19:48
Grahack left19:49
cantoma left19:49
funkycat90210_ joined19:49
Ilari oven: Git has nonlinear branches. SVN "branches" are linear.19:49
jsquared Ilari: can you clarify what you mean by that?19:50
funkycat90210_ left19:50
^Einstein joined19:50
boto left19:50
marvil07 left19:50
jforman left19:51
Ilari jsquared: Git branches can contain merges and thus fail to be linear. SVN doesn't have true branches and underlying revision model is linear. The "branching" layer doesn't implement any nonlinear behaviour.19:51
sh1msh1mmer19:52
Ilari jsquared: This holds true even in 1.5+ merge tracking.19:52
gitte jsquared: the main point being: it is not enough to track merges; you have to make _use_ of them, too.19:52
plediii joined19:53
gitte jsquared: for example in Git, if you have criss-cross merges (a clear feature of non-linear branching), Git will know about all merge bases and make use of them when you merge the next time.19:53
krisserver joined19:53
DaveIngram left19:53
godsflaw left19:53
Fragsworth left19:54
Ilari And furthermore, not just are commits from other branches referenced, they are part of branch itself (this can be seen by requesting just a single branch in repository with merges).19:55
elmob left19:55
kennethlove joined19:55
|azol| left19:55
jsquared gitte, Ilari: by "nonlinear", do you just mean that two commits might have two common (and non-identical) ancestors?19:56
gitte Ilari: well, the SVN repository being purely remote, the same can be said about SVN. The repository trivially contains all referenced objects...19:56
jsquared: not only that.19:57
jsquared okay19:57
gitte jsquared: there can be _tons_ of parents.19:57
gitte looks for her favorite gitk screenshot19:57
ajonat joined19:57
jsquared is that a pathological case or something that actually happens?19:57
Ilari jsquared: Something that actually happens.19:57
jsquared hmm, okay19:58
why would one commit have tons of parents? I'm not understanding something here19:58
Ilari jsquared: Of course, if you overdo it, prepare get reputation of doing so... Like the ACPI guys (making 12-parent merge and AFAIK also 13-parent one).19:58
gitte jsquared: you are stating the obvious...19:58
Nazcafan joined19:59
ablemike joined19:59
gitte Ah!19:59
http://www.spearce.org/2007/07/difficult-gitk-graphs.html19:59
jsquared okay, so it's something that actually happens, but not something that's seen as a terribly good idea? :P19:59
haha, jesus19:59
Nazcafan hello19:59
jsquared gitte: that looks like a PCB wiring diagram ;)20:00
Ilari ...20:00
eletuchy_ joined20:00
gitte jsquared: It is always a question of intelligent decisions...20:00
krisserver left20:00
gitte jsquared: in some circumstances, octopodes are the _only_ thing that makes sense.20:00
krisserver joined20:00
Ilari jsquared: And even has four lines jumping to "hyperspace"... :-)20:00
JNR___ left20:01
DaveIngram joined20:01
Ilari jsquared: (gitk does that when it has insufficent space to draw all the lines)...20:01
Nazcafan I am quite a newbie using git20:01
pflanze joined20:02
Nazcafan I pulled from a server, but it's ip address recently changed, how can I push to it, now?20:03
Ilari Nazcafan: Edit '.git/config'.20:03
Nazcafan ah thanks20:03
smotchkkiss left20:03
Ilari Nazcafan: Should be pretty obivious what's the right thing to change there.20:04
Nazcafan yeah, got it20:04
at my work, they are still using CVS20:04
tedoc2000 joined20:05
schacon left20:05
Nazcafan they are planning to switch to something else, but unfortunately, they seem to have settled for bazaar20:05
Ilari Nazcafan: If the new repo is empty, one needs to push to populate it...20:05
Nazcafan mhh20:06
Ilari Nazcafan: Otherwise (it already has the stuff), fetching the new repo (git remote update) could be in order.20:06
capndiesel left20:06
By-Gokhan joined20:06
ablemike left20:06
Nazcafan Ilari, sorry I didn't catch your latest statement20:07
tedoc2000 left20:07
By-Gokhan http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg :) http://www.seslibitanem.com :) http://chatvebiz.tr.gg20:07
http://www.seslibitanem.com :) http://chatvebiz.tr.gg :)20:07
Nazcafan ilari ?20:07
eletuchy left20:07
tedoc2000 joined20:08
By-Gokhan left20:08
_Vi joined20:08
a3li joined20:08
Ilari Nazcafan: If the new repo already has stuff, running 'git remote update' could be in order...20:08
Nazcafan: updates remote tracking branches...20:08
Nazcafan ah20:09
radii joined20:09
Nazcafan I'll try that20:09
Octalot joined20:09
eletuchy_ left20:09
Nazcafan I am the only to use the remote repo, actually20:09
it is kind of a private repo20:09
pstef joined20:10
krisfremen left20:10
plediii left20:10
Nazcafan (you could call it a backup)20:10
impulze well it teaches you to not fall into bad habits20:11
meanburrito920_ joined20:11
Ilari Nazcafan: When computer is going offline, its handy to have all relevant related repositories as remotes and to update all the remote tracking branches, so one can work on merging stuff without net connection.20:11
Nazcafan ah20:12
got it, nice, actually20:12
Ilari Nazcafan: remote tracking branches are mirrors of local branches of other repositories.20:13
magcius left20:15
smotchkkiss joined20:16
Sent joined20:16
giallu joined20:16
ntoll left20:16
rcy left20:17
Nazcafan Ilari, what is the difference between git remote update and git push, when the repo already has stuff ? none ?20:21
smotchkkiss_ joined20:22
frede left20:23
jchris joined20:24
Ilari Nazcafan: git remote update runs 'git fetch <remote>' in loop. It doesn't push.20:25
Nazcafan ah20:25
so right now the remote repo is unchanged, right ?20:26
thiago_home yes20:26
Nazcafan so if I saw no conflicts, I just need to push, now ?20:27
loinclot_ joined20:27
cxvii joined20:27
corni left20:27
montylounge joined20:28
thiago_home update didn't pull20:28
you may not have the latest changes from upstream in your branch20:28
frederga__ left20:29
Nazcafan thiago, If I remember, pull = fetch + merge, right?20:30
impulze yes20:30
thiago_home right20:30
Nazcafan so now I just have to merge, I guess20:30
thiago_home yes20:31
magcius joined20:31
loincloth left20:31
froschi joined20:31
Nazcafan mhhh20:32
wagle_home how would you list commits (say with git-rev-list) where a file (path) is modified by a merge commit (from the second parent)?20:32
Nazcafan thiago_home, I am not sure of the proper syntax to proceed with the merge20:33
sh1mmer left20:33
sh1m joined20:33
gitte left20:33
DaveIngram left20:34
thiago_home git merge <branchname>20:34
DaveIngram joined20:35
Nazcafan thiago_home, how do I know the branch name? git branch only yields "* master"20:36
thiago_home remotename/branchname works too20:36
see git branch -r20:36
Nazcafan aaah20:36
there I see the remote branches20:37
smotchkkiss left20:37
lucsky left20:37
Nazcafan I see origin/HEAD, and origin/master20:37
sergiodj left20:39
adamtanner joined20:39
smotchkkiss joined20:40
godsflaw joined20:40
cenuij joined20:41
krisserver left20:41
krisfremen joined20:41
gh34 left20:41
Ilari Nazcafan: origin/HEAD is the default one (symbolic refernce, kind of like Unix symbolic link). 'origin/master' is copy of 'master' of 'origin'.20:44
Thomas__ left20:44
godsflaw_ joined20:44
dwmw2_gonedwmw2_OLM20:44
Thomas__ joined20:44
seanius is there an easy way to gpg sign a series of patches output from git format-patch?20:45
kumbayo left20:46
Fissure seanius: don't think so20:47
Nazcafan Ilari, I am kind of lost, there, so where does origin/HEAD points to if it is similar to a simlink? origin/master?20:47
Ilari Nazcafan: Correct.20:47
Nazcafan ok20:47
so it is the same to merge20:48
Fissure seanius: you could in theory use a bundle instead, and include a signed tag in it20:48
Ilari Nazcafan: refs/remotes/origin/HEAD (remote tracking branch 'origin/HEAD') can be shortened as 'origin'.20:48
mmw joined20:48
cxvii left20:48
adamtannercxvii20:48
Ilari Nazcafan: Merge also accepts commit IDs. How commits to merge are specified is irrelevant except for the default commit message...20:49
x_or left20:49
Ilari Nazcafan: Note that commit IDs to merge are interpretted as anonymous branches tipped at designated commit.20:49
froschi left20:49
Sent left20:49
cxvii left20:50
Nazcafan ok, I merged and it indicated "already up to date" which was predictable since noone had touched the remote repo since I had last pulled20:50
now am I supposely safe to push there?20:51
Pewpewarrows joined20:51
smotchkkiss_ left20:52
seanius Fissure: okay, thanks. how do i output a bundle?20:52
Fissure seanius: man git-bundle20:53
Gitbot seanius: the git-bundle manpage can be found at http://git.or.cz/man/git-bundle20:53
^Einstein left20:53
seanius Fissure: oh, heh. zsh didn't tab complete it so i didn't realize it was there :)20:53
keystr0k left20:54
sh1m left20:55
sh1mmer joined20:55
engla wishes everyone in #git would use the 'git help foo' form when teaching20:55
engla takes the example 'git help bundle'20:55
notjohn left20:56
montylounge left20:56
Swimming_Bird left20:57
fpcfanfpcfan-away20:59
godsflaw left20:59
doctorcode joined21:00
impulze or git foo --help21:00
tedoc2000 left21:01
zirpu left21:01
doctorcode if i add some files to branch A and switch to another branch B, those new files from A don't seem to be deleted. is that normal? what's the concept behind that?21:01
^Einstein joined21:01
Nafai doctorcode: You have only done 'git add' but not 'git commit' before switching to B?21:02
kvanderw joined21:02
doctorcode Nafai: i commited of course21:02
Nafai Ok, just making sure.21:02
That does seem odd.21:02
thiago_home they should disappear if the other branch doesn't have them21:02
doctorcode it seems that when switching between branches those files that are not tracked in the other branches just remain in its place21:03
tedoc2000 joined21:03
doctorcode ok - i will recheck that21:03
thx21:03
kvanderw trying to maintain a local repository server and github.... while I have the local repository working.... linking to github (any secondary repository) seems like some kind of magic. I want to be able to have external programmers hitting github, and corporate programmers hitting the local repo server.... Any clues on where to look? jfgi hasn't got me much more than confused.21:04
thiago_home "linking" ?21:06
lhz left21:08
kvanderw distributed repositories.... how to get the two 'repository' servers to update each other.21:09
kevlarman kvanderw: for the non-github one, you can use a post-update hook21:10
to push to github21:10
kvanderw I have seen the --mirror command, but that seems to fail the situation where external contractor is updating 'github' and we want our repository server to reflect the same.21:10
fynn joined21:10
kvanderw yes... the post-update hook is where I have the --mirror21:11
BeerSerc_ joined21:11
BeerSerc left21:11
kvanderw but... how do changes to 'github' show up on our local hub?21:11
kevlarman i don't think you want --mirror21:11
fynn Hey. Suppose I want to reduce the size of the repo to the minimum, which is better: "repack -adf --window=100 --depth=250" or "repack -adf --window=250"21:11
kvanderw that is where I am landing as well. and the reason for this discussion.21:11
:)21:11
kevlarman i don't think you can make it work in 2 directions actually21:12
kvanderw can I get to 'post-update' on github?21:12
kevlarman you'll run into problems when something gets pushed to the same branch at the same time21:12
kvanderw so they update each other?21:12
kevlarman not afaik21:12
kvanderw ok... I see that21:13
kevlarman why can't you just use a single repo?21:13
kvanderw so, as many 'human' users can be distributed as I like, but multiple repos seems to be a problem.21:13
because I thought I could <shrugs>21:14
cantoma joined21:14
kvanderw I am suffering from growth.21:14
I thought I would use 'github' for external contractors.21:14
and our local repo for staff.21:14
doener kvanderw: I'd rather have your external guys have just the github repo as a remote, and the "internal" guys having both repos as remotes21:14
kvanderw it sounded good at the time21:14
so, you are referring to mulitple URL lines in the config?21:15
doener multiple remote sections even21:15
Tuomas left21:15
doener so external guy has just "origin" (pointing to github), and internal guy has "origin" (internal repo) and "github" (github repo)21:15
or something like that21:16
godsflaw__ joined21:16
kvanderw doener: the question there is, if I have multipel remote sections, don't I need to push once for each remote? and with one remote but multiple URLs, it is a single push??21:16
godsflaw__ left21:16
godsflaw joined21:16
Theravadan left21:16
doener then internal devs can just fetch from/push to both repos21:16
godsflaw_ left21:16
engla left21:16
doener kvanderw: I'm not sure that a single remote can have multiple urls at all21:16
fualo_ left21:17
fualo_ joined21:17
doener kvanderw: and you'd just hit the same "someone else pushed, thus my push gets rejected" issue anyway21:17
fynn Hm, to create an alias that runs a bash script, do I still need to use the !"<bach commands>" syntax?21:17
kvanderw doener: me neither... but I saw specific instructions to that effect during my googling today.21:17
doener kvanderw: unless one repo is a pure mirror (read-only for users)21:18
doctorcode i just did git checkout f47........... which was some older commit. are my newer changes not lost?21:18
doener doctorcode: no21:18
krisserver joined21:18
doctorcode i don't seem them in "git log"21:18
(its not dramatic, its just a test scenario)21:18
doener doctorcode: because "git log" is the same as "git log HEAD", and HEAD references what you have checked out21:19
kvanderw doener: right, I have gotten far enough to determine that I could do the 'r/o' thing... but that wasn't really what I wanted.21:19
doctorcode how can i get back?21:19
(thx)21:19
doener doctorcode: just do "git log master" or so, and see that your branch head wasn't affected by the checkout21:19
doctorcode: just checkout your branch head again21:19
doctorcode doener, thx!21:20
kvanderw doener: Thanks for the help... I'll go off and 'play' some more.... :)21:21
WinterWeaver left21:21
delsvr joined21:21
fhr left21:23
doctorcode Nafai: I just tested what you said in a nearly empty git repo ... seems to work fine. thank you21:24
Nafai np21:25
loinclot_loincloth21:26
tfarina_ joined21:28
mm_work left21:28
joab joined21:29
krisserver left21:32
smotchkkiss left21:32
lightcap joined21:33
Seventoes joined21:33
Seventoes git-svnimport doesn't seem to be installed on my system, is there a place to download it?21:34
krisfremen left21:35
fynn is there a single command that would not only commit --all, but also add any non-ignored untracked file before committing?21:35
basically, a single command for "git add -A; git commit"?21:36
Nazcafan left21:36
impulze just create an alias21:37
joab I had to reformat my server so I did a clone --bare on my repo onto my work station. How do I get it back on the server? Can I just tar it and upload?21:37
dodo_the_last1 left21:37
tillberg left21:38
_Vi left21:38
plediii joined21:39
segher joab: the easiest way is to just mkdir && git init --bare on the server, and git remote add origin && git push origin master on the client21:39
joab segher: From the bare repository or the one with the working directory?21:40
segher either21:40
you didn't really need the bare copy afaics21:41
Seventoes left21:41
segher every clone is a full copy (of the branches and tags it cloned only, of course)21:41
joab segher: I already have origin and all that set up from earlier on so I should just be able to init --bare on the server and then push?21:41
segher yeah21:41
joab segher: Sweet. Thanks :)21:42
nils13 joined21:42
tfarina left21:43
nils13 left21:43
flazz left21:43
LiamH left21:45
maravillas left21:46
Theravadan joined21:47
__iron joined21:47
altrux left21:47
ablemike joined21:48
loincloth left21:48
freerobby left21:48
pdherbemont left21:49
tango_ joined21:49
lightcap left21:49
Sigma left21:50
zmbmartin joined21:50
jchris left21:50
PointMan joab: yep21:50
zmbmartin how do I get pull when it says that I am behind by 1 commit21:51
eletuchy joined21:51
zmbmartin sorry I meant git pull when I am behind by 1 commit21:52
hugoxrosa left21:53
lorandi left21:54
eletuchy left21:54
eletuchy joined21:55
fualo_ can I reset an interactive rebase?21:55
impulze reset as in abort?21:55
fualo_ oh, that works? easy. thanks21:55
ccherrett left21:55
impulze :S i was merely asking21:55
did not know what you mean with reset21:55
m-takagi left21:59
eletuchy left22:01
priidu left22:03
tbf left22:04
zmbmartin fatal: You have not concluded your merge. (MERGE_HEAD exists) <-- How can I fix this22:04
ctusar left22:04
psynaptic joined22:05
doctorcode left22:05
mybad joined22:06
mybad hello22:06
i'm using git for few days now (switching from subversion) and i'm enjoing using it22:06
meanburrito920_ left22:06
indirect_ joined22:07
mybad i would like to know, what's the best alternative to have a "build versions"(like what we can do with subversion) using git please22:07
thiago_home what's a "build version" in SVN?22:07
wereHamster mybad: <HEAD:GIT-VERSION-GEN> and the corresponding rules in the Makefile22:08
Gitbot [git GIT-VERSION-GEN]: http://tinyurl.com/lowbne [blob]22:08
mybad thiago_home, I've meant that there are a few scripts floating around that perform this trick for subversion (geting incremental version numbre from subversion API)22:08
Gitbot, thank you22:09
zmbmartin left22:09
DavidKlein left22:09
impulze haha wereHamster, pwned ;)22:09
rfayrfay_afk22:09
wereHamster what, why?22:09
impulze you weren't thanked :)22:10
boto joined22:10
impulze instead the bot got the honors :D22:10
wereHamster I'm ok witn that, I'm sure the bot appreciates it22:10
jerbear joined22:10
fynn wereHamster: Suppose I want to reduce the size of the repo to the minimum, which is better: "repack -adf --window=100 --depth=250" or "repack -adf --window=250"22:10
wereHamster fynn: ugh, no idea22:11
thiago_home fynn: YMMV22:11
fynn wereHamster: who should I ask?22:11
thiago_home fynn: yourself22:11
cenuij left22:11
thiago_home fynn: run both and check which one produces the best result22:11
fynn thiago_home: is this one of those Zen answers22:11
I can't run it against all repos in the world :)22:12
thiago_home no, it's the actual answer22:12
the result will depend per repository22:12
suman_ left22:12
thiago_home hence the YMMV22:12
indirect_indirect22:12
eletuchy joined22:12
wereHamster fynn: I think --window=100 will yield smaller packs22:13
fynn wereHamster: yeah, I sort of suspect the former is better too, and initial benchmarks suggest it is.22:14
wereHamster: I took the later from http://git.or.cz/gitwiki/GitBenchmarks#Git.2CMercurial.2CBazaarrepositorysizebenchmark22:14
which is why I'm asking.22:14
psoo joined22:14
fynn they were aiming to absolutely minimize repo size there, and since they were suggeting the later, even though the former seems to work better, I assumed I was missing something :)22:15
Derander joined22:15
mivok left22:15
kpreid_ left22:18
telemachus joined22:18
telemachus A question about branches: If I have a branch that I expect to be short-lived, does it pay to create a remote version of it (and push commits to that remote branch) or is it easier to just merge (rebase?) the branch back into master and push that?22:19
wildwobby joined22:19
wildwobby I hate git.22:19
qrush ...why?22:20
wildwobby I did a "git rm -rf" in attempt to drop track of all of the files in the repo... but it DELETED all of them22:20
wereHamster telemachus: only if you want to share it22:20
wildwobby I am used to hg.22:20
Now I lost my whole damn project22:20
Is there a way to get it back?22:20
wereHamster wildwobby: git checkout HEAD -- .22:20
jrmuizel left22:20
telemachus wereHamster: you mean only create the remote if I want to share it? To be honest, it's a personal project (nobody here but me), but I'm curious about the implications for later history...22:21
wildwobby fatal: invalid reference: HEAD22:21
It was going to be an initial commit22:21
But I added the wrong files at first.22:21
FML.22:21
telemachus back in two22:22
telemachustelemachus-laund22:22
kvanderw doener: FYI from our previous conversation about 2 urls.... http://stackoverflow.com/questions/165092/can-i-push-to-more-than-one-repository-in-a-single-command-in-git22:22
wereHamster telemachus: doesn't matter to the historu22:22
kevlarman wildwobby: i think you can still find the index22:22
wildwobby kevlarman: What do you mean?22:23
freerobby joined22:23
kevlarman err, but you removed all the files from it22:23
no nvm22:23
wildwobby the only thing that is left is the .git directory.22:23
wereHamster wildwobby: not the index, but amongst fsck --lost-found22:23
d-snp lol wildwobby that's a bold command to make :D22:24
wildwobby wereHamster: ??22:24
kevlarman wildwobby: --cached is the option you were looking for btw22:24
fualo_ Does gitweb extract data for it's visualization via git commands? or deep internals?22:24
dodo_the_last joined22:25
wereHamster doesn't understand why someone would think that 'git rm -rf' behaved differently than 'rm -rf'22:25
d-snp I can sort of imagine making that mistake22:25
though I wouldn't dare issueing anything like that on untracked files...22:26
eh, or uncommitted22:26
wildwobby wereHamster: Well in hg they have an "hg remove"22:26
And that doesnt delete the file, just drops track22:26
d-snp goes to show how important it is to backup at all times ;)22:26
kevlarman wildwobby: git rm --cached does that22:27
d-snp but the git thing has -rf :|22:27
at least drop the f :P22:27
fualo_ er, I meant gitHUB, does github extract data for it's visualization via git commands? or deep internals?22:27
wildwobby I ran it without -rf at first and it said: error: 'build/WWGraph.build/WWGraph.pbxindex/imports.pbxbtree' has changes staged in the index22:27
Like a million times22:27
joab left22:28
dodo_the_last left22:28
dodo_the_last1 joined22:28
kevlarman that was git trying to keep you from shooting yourself in the foot22:28
wereHamster wildwobby: do yol have another backup of the files?22:28
loincloth joined22:28
wildwobby wereHamster: Nope. And luck has it I deleted my Time Machine backups last night!22:28
d-snp lol22:28
haha22:28
wildwobby I wanted to use the space for other things.22:28
d-snp it was sad, now it's becoming ridiculous :P22:28
wereHamster wildwobby: so prepare for a _long_ day (or night)22:28
wildwobby: git fsck --lost-found22:29
agile left22:29
wildwobby wereHamster: Whats that do?22:29
d-snp you know there's manual pages..22:30
wildwobby I know....22:30
wereHamster will print lots of hashes. For each one: git show <hash> to see what file that is, then redirect that to its original location (git show <hash> > build/WWGraph.build/WWGraph.pbxindex/imports.pbxbtree)22:31
kvanderw_ joined22:31
wildwobby Oh sweet! So I just have to come up with the filenames?!?22:31
wereHamster or wait. Look for 'dangling tree' in the output22:32
Mikachu wereHamster: there won't be any trees if he never committed22:32
wereHamster do 'git show' on each one until you find the root tree22:32
telemachus-laundtelemachus22:33
wereHamster oh, right.22:33
mmw left22:34
travisjeffery joined22:34
wildwobby So I have to come up with the file names?22:34
wereHamster yes, git doesn't save those until you commit22:35
travisjeffery left22:35
Z3R0 joined22:35
doctorcode joined22:35
wereHamster (only in the index, which you wiped)22:35
bentob0x left22:35
doctorcode i just perfomred a git commit - what does this mean? ... rename helpers/trace/{ => lib}/trace.c (93%)22:35
especially the 93%?22:35
wildwobby wereHamster: Ok... not as bad as I thought... there are only like 8 *source* files the rest are generated by x-code22:35
robinsk left22:36
wildwobby Thanks guys!22:36
wereHamster doctorcode: similarity between the two files22:36
fynn left22:36
doctorcode wereHamster, cool. so its not just a rename - i also made changes to the file22:36
wereHamster seems like it22:37
doctorcode and git is 93% sure that these files are the same?22:37
Mikachu it is 100% sure they are 93% the same22:37
doctorcode or is it just some user information, and even 0% wouldn't matter?!22:37
great... thx22:37
davido left22:37
Mikachu it's just informational22:37
the info isn't stored anywhere22:37
doctorcode okay - i just thought git needs to be somehow smart to identify those two files... and it might even fail with this...22:38
but great! thx22:38
git is so great!!22:38
kvanderw left22:38
kvanderw_kvanderw22:38
doctorcode it really keeps me on track... everytime i type "git status" i know what i'm realy doing. and i always keep on cleaning up22:38
thiago_home left22:38
doctorcode hehe ;)22:39
pflanze left22:39
tango_ left22:39
tango_ joined22:40
maattd_ joined22:40
TeckniX left22:42
telemachus left22:44
[t0rc] joined22:45
__tcpip joined22:45
__tcpip Anyone know if there is a way to "git add" a folder that is within an larger excluded folder?22:46
right now it comes back and says... fatal: '/system/profiles/avatars/135/687/204' is outside repository22:46
indirect_ joined22:47
d-snp __tcpip: in the filesystem a directory contains all the pointers to the files22:47
if you exclude that, git can't know where the file is22:47
so you really would have to make your exclude more specific22:47
__tcpip d-snp: I want most of the avatars subfolders excluded22:48
d-snp: just 135 should be included22:48
Ilari __tcpip: Did you really mean to use absolute path?22:48
d-snp I'm not an expert on exclude patterns, I only know how directories work..22:48
dwmw2_OLMdwmw2_gone22:49
__tcpip oh lord.... i'm embarrassed22:49
Ilari __tcpip: I am not entierely sure how to un-ignore only that directory. But one can definitely force-add files there.22:49
maattd left22:49
maattd_maattd22:49
__tcpip I just did a git add . while in the folder and it seemed to work!22:49
Turias left22:50
Ilari __tcpip: Do the files show up in 'git ls-files'?22:50
ereslibre joined22:50
__tcpip yep22:50
jerbearjmcantrell22:52
telemachus joined22:52
kpreid_ joined22:52
telemachus Why would I get only an "Already up-to-date" message when I try to merge a branch back into master?22:53
DaveIngram left22:53
agenteo joined22:54
jmcantrell left22:55
meanburrito920_ joined22:55
jmcantrell joined22:55
ablemike left22:55
Cheaterman joined22:56
Ilari telemachus: Are you sure you are on master? What does 'git log master..branch-to-merge' show?22:57
xymbol telemachus: make sure you're in the right place; git status is your friend22:57
KyleMac2 joined22:57
Cheaterman Wow, many people here. Hello and sorry for the disturbance (especially since I'm not sure weither if this is supported or not...); I'm trying to checkout a cvs repository over git, and it doesn't work well ; I get answered with a "unknown scrambling method". It's a sf.net cvs, and I'm supposed to log in as an anonymous user before checking it out, but dunno how to do this with git. One last thing, the command I used: git cvsimport -v -d:pserver:22:57
telemachus xymbol: thanks, but I have my branch in my prompt at all times22:58
Ilari: ditto22:58
Cheaterman And please keep in mind that I'm familiar with git, but not at all with cvs.22:58
xymbol (maybe you've not checked out the new branch and worked on master)22:58
telemachus I just realized that I fucked up and rebased backwards (thus wiping out a commit)22:58
giallu left22:58
Ilari telemachus: 'git reflog'.22:58
telemachus Luckily, gvim was still open with both changed files, so I resaved and recommitted22:58
Ilari: ?22:59
xymbol telemachus: be cautious with rebase, it's a great tool but needs to be handled with care22:59
:-)22:59
telemachus xymbol: Yes, I think I just learned that.22:59
ajonat left22:59
Ilari Well, rebase doesn't start with dirty tree, and rebase gone awry can be undone by looking up the commit from reflog and resetting.22:59
telemachus So, let's try this from the top. I create a short-lived branch (fix_schedule). I work on it. I make brilliant fixes. I commit.22:59
DaveIngram joined23:00
xymbol telemachus: google for "rebase versus merge", you'll find several articles on the topic23:00
telemachus At that point, I can either (a) merge the branch back into master or (b) rebase.23:00
Let's say I want to rebase, just for fun.23:00
I want to be in master when I do that, yes?23:00
Ilari telemachus: 'git checkout fix-schedule', 'git rebase master', 'git checkout master', 'git merge fix-schedule'.23:00
telemachus: rebase and merge alter current branch.23:01
telemachus Ilari: that's exactly what I did with no joy.23:01
Hmm.23:01
Mikachu (the first two steps can be git rebase master fix-schedule)23:01
wildwobby All fixed. Thanks so much I was SOOOO worried I had lost all of that code.23:01
telemachus Mikachu: ok, but where should I be when I run git rebase master fix_schedule?23:01
maattd left23:01
Mikachu doesn't matter23:01
well, you should have a clean index and worktree23:02
Adlai` joined23:02
mybad left23:02
indirect left23:02
indirect_indirect23:02
Adlai left23:02
tedoc2000 left23:02
Adlai`Adlai23:02
telemachus Mikachu: both branches have untracked files, but nothing in the index23:02
Mikachu telemachus: also, look into the reflog if you're going to mess up rebase a lot23:03
telemachus (the untracked files are simply things I can't decide about)23:03
tedoc2000 joined23:03
Mikachu telemachus: a branch can't have untracked files23:03
xymbol telemachus: untracked files are "nowhere" in Git23:03
telemachus Mikachu: master had them, so when I created the branch it got them too23:03
Mikachu telemachus: they just sit in your working tree, git does nothing with them at all23:03
xymbol they don't live in branches but your working directory23:03
telemachus Mikachu: right, that's cool23:03
Ilari telemachus: Untracked files are property of working directory, and that is shared between all branches.23:04
Mikachu until you accidentally overwrite them with git reset --hard or git checkout -f ;)23:04
telemachus I just meant that other than the two garbage items, all is clean - both branches23:04
Ilari ... Except maybe sometimes complain about them being trashed in some operations...23:04
psynaptic left23:04
telemachus Now I want to rebase - or merge23:04
Or explode23:04
xymbol telemachus: you may want to look at git-stash to have incomplete stuff somewhere else23:04
telemachus or something23:04
doctorcode_ joined23:05
anarcat joined23:05
anarcat hello!23:05
cenuij joined23:05
Ilari ...23:05
telemachus Hmm. We got sidetracked. Never mind the untracked crud, please.23:05
xymbol telemachus: generally, you can live with merge which is less "dangerous";23:05
anarcat how do i "fold" multiple commits on branch A into a single commit on branch B?23:05
qrush left23:05
xymbol OTOH rebase allows you to rewrite history which is a good thing sometimes23:05
telemachus xymbol: so that's, git checkout master; git merge branch; git -d branch, yes?23:06
xymbol exactly23:06
Ilari telemachus: That works to merge it...23:06
^Einstein left23:07
Ilari telemachus: Doesn't necressarily give linear history...23:07
xymbol telemachus: git checkout -b fix_issue; edit; edit; edit; git add changes.txt; git commit; git checkout master; git merge fix_issue; git branch -d fix_issue23:07
telemachus Ilari: right23:07
^Einstein joined23:07
telemachus But rebase made my face hurt, so for tonight, it's merge for me.23:07
xymbol telemachus: as Ilari pointed out, (non) linear history eventually becomes a problem; esp. if you're collaborating23:07
KyleMac left23:08
Cheaterman No one uses cvs over git. Right?23:08
KyleMac2KyleMac23:08
telemachus This is what I get for reading blogs about why rebase is so cool.23:08
;)23:08
Mikachu Cheaterman: i think dhcpcd moved from git to svn23:08
psoo left23:08
xymbol Cheaterman: sorry, jumped one SCM at a time ;-)23:08
Cheaterman Mikachu: Strange idea. Why am I concerned?23:08
Mikachu Cheaterman: i must have misunderstood your question23:08
Cheaterman xymbol: No problem23:08
milli`milli23:09
Cheaterman Mikachu: Well, my question is the 4 lines § a few pages above23:09
xymbol telemachus: take your time and look at git rebase -i (interactive); it may make more sense23:09
telemachus xymbol: cool. I will play with that next time. Thanks.23:09
xymbol gotta go, bye!23:09
Ilari Cheaterman: It cuts off in beginning of cvsimport command.23:09
Yuuhi left23:09
Cheaterman "git cvsimport -v -d:pserver:anonymous:@qjackctl.cvs.sourceforge.net:/cvsroot/qjackctl qjackctl"23:09
Never mind.23:10
^Einstein left23:10
^Einstein joined23:11
kvanderw left23:12
impulze hm is gitweb broken for links2?23:12
all i get is "Generating..." when trying to view something23:12
Ilari impulze: Try reloading the page.23:12
impulze weird23:13
that worked23:13
Ilari The generating... page tries to auto-refresh, but auto-refresh can fail.23:14
impulze Ilari: i have to do this everytime i want to view an object? what's happening there?23:14
[t0rc] left23:14
tbuehlmann left23:15
impulze can? it's reproducable for every view23:15
Ilari impulze: The method it uses for auto-refresh fails for Links2.23:15
carrus85 left23:15
impulze yes23:16
nh2 left23:16
impulze i've found a menu option called "auto-refresh"23:16
it seems to do something that makes it more happy :P23:16
^Einstein left23:16
impulze thanks though23:16
Ilari <meta http-equiv="refresh" content="0"/>23:16
fualo_ left23:17
fualo_ joined23:17
plediii left23:17
marvil07 joined23:18
__iron left23:19
__iron joined23:20
doctorcode left23:20
doctorcode_doctorcode23:20
aspotashev left23:22
up_the_irons left23:23
up_the_irons joined23:23
adam[pac] joined23:25
cenuij- joined23:27
adam[pac] hi, i just discovered git mergetool. I've tried using diffuse to resolve some conflicts. After exiting the tool, git status shows me an untracked file with a .orig extension. The merged file seems to have my resolutions but is not showing as modified. How can I prevent the .orig file from showing up?23:27
telemachus left23:27
Guest333 joined23:28
godsflaw left23:28
adam[pac] And is there a way to automatically commit the merge and remove .git/MERGE_HEAD after a succesful merge resolution? It seems like I had to run "git commit" even though git status didn't detect changes.23:28
jmcantrell left23:28
WALoeIII_ joined23:30
plediii joined23:31
agile joined23:33
PointMan left23:34
dreiss left23:36
godsflaw joined23:36
pixelbeat left23:37
|Inthewings| left23:38
cenuij left23:39
mithro_mithro23:39
^Einstein joined23:39
boto left23:45
Z3R0 left23:47
doctorcode left23:47
ablemike joined23:47
WALoeIII left23:47
WALoeIII_WALoeIII23:47
godsflaw_ joined23:50
dreiss joined23:54
godsflaw left23:58
ab3 joined23:59

Logs Search ←Prev date Next date→ Channels Documentation