| 2007-01-03 |
| → pnatal joined | 00:06 |
| → GeertB joined | 00:26 |
|
rambokid
| heck, how do i extract the commit message of an existing commit? | 00:32 |
|
gitster
| "git show -s $commit"? | 00:33 |
|
rambokid
| (without the commit...Author:... blurbs of git-log) | 00:33 |
|
gitster
| sed them out of "git cat-file commit $commit" output then. | 00:33 |
|
rambokid
| gitster: not good enough, since depending on whether it was a merge or not, the output has multiple header lines | 00:33 |
|
gitster
| like: git-cat-file commit $commit | sed -e '1,/^$/d' | 00:34 |
|
| At least that is "good enough" for git Porcelain-ish. | 00:35 |
|
rambokid
| gitster: ok thanks, just to make sure, 1,/^$/ will match all lines up to the first empty line and no more, right? | 00:38 |
|
| that should work fine then. | 00:38 |
|
gitster
| most of the thing you would want to script are found in git Porcelain-ish ;-). | 00:38 |
|
rambokid
| gitster: ok, since you're here... i'm trying to merge commits to two branches. both branches operate in their own dir so there will never be a conflict. the order in which the commits have to be merged are like what gitk --all -d produces. i'm currently using a combination of git-rev-list + reverse commit id order + shell scripted merges for each individual commit. is there anything easier i'm overlooking? | 00:41 |
|
gitster
| what do you mean by "order in which the commits have to be merged"? | 00:42 |
|
| for that matter, "merge commits to two branches" does not make sense to me... | 00:43 |
|
rambokid
| well, i have two branches (directories of a project) that were developed concurrently and tracked by different revision control systems. i can import both into git with their own history and the same root. now i want to merge them into a single line of commits ordered by dates of the commits. | 00:44 |
|
gitster
| ah, ok. | 00:45 |
|
rambokid
| e.g. if one dir is a/ and has commits a1 a2 a3 and the other is b with commits b1 b2 b3 and those commits were executed exactly interleaving in the past, the result should be a1 b1 a2 b2 a3 b3. | 00:45 |
|
gitster
| is each of the (currently separate, but you are trying to make them into one) development history linear, or do they have their own merges? | 00:46 |
|
rambokid
| linear and simple. | 00:46 |
|
gitster
| then I would sort "rev-list --timestamp" output numerically. | 00:46 |
|
rambokid
| gitster: ah, ok. but still script the mergin, like for r in `cat merged-commit-ids` ; do git-resolve head $r msg; done right? | 00:47 |
|
| s/mergin/merge/ | 00:47 |
|
gitster
| something like that, I guess. | 00:48 |
|
rambokid
| ok, thanks. just checking whether i'm on track here ;) | 00:48 |
|
| actually, it looks like cherry-pick is more what i want here and it already does pick up the correct commit message | 00:52 |
| → benoitc joined | 01:04 |
| → spuk joined | 01:12 |
| → ShadeHawk joined | 01:13 |
| → kmacleod joined | 01:15 |
| → ag joined | 01:38 |
| → mchehab joined | 01:55 |
| → hon joined | 02:38 |
|
hon
| git shines. is there an equally great build system being developed? | 02:40 |
| → benoitc joined | 03:04 |
| → kanru joined | 04:11 |
|
Romster
| hon, package manager? | 04:16 |
|
| or chrooted enviorment to build sources in? | 04:16 |
| → xjjk joined | 04:29 |
| → xjjk joined | 04:37 |
| → jeffpc joined | 04:37 |
| → rkaway2 joined | 05:15 |
| → russell_ joined | 05:45 |
| → devogon joined | 07:38 |
| → Romster joined | 07:59 |
| → ferdy joined | 08:37 |
| → gitster joined | 08:45 |
| → ehird joined | 09:27 |
| → nud_ joined | 09:29 |
| ← ehird left | 09:33 |
| → FrankBA_ joined | 09:40 |
| → pdmef joined | 10:03 |
| → normalperson joined | 10:10 |
| → chris2 joined | 10:14 |
| → kanru joined | 10:20 |
| → pnatal joined | 10:34 |
| → pnatal joined | 10:36 |
| → benlau joined | 10:47 |
| ← hon left | 12:04 |
| → GeertB joined | 12:15 |
| → spuk-_ joined | 12:32 |
| → GyrosGeier joined | 12:50 |
| → ferdy joined | 13:00 |
| → Romster joined | 13:25 |
| → Glanzmann joined | 13:32 |
|
Glanzmann
| Where do I clone Linus Kernel Tree from? | 13:33 |
| → timlarson_ joined | 13:38 |
|
moh
| git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git | 13:38 |
|
Glanzmann
| Thanks. | 13:41 |
| → GyrosGeier joined | 13:52 |
| → kanru_ joined | 14:19 |
| → FrankBA_ joined | 14:20 |
| spuk-_ → spuk- | 14:25 |
| → Romster joined | 14:44 |
| kanru_ → kanru | 14:54 |
| → cworth joined | 15:10 |
| → ArjenL joined | 15:47 |
| → krh joined | 16:09 |
| → krh joined | 16:18 |
|
krh
| ugh | 16:18 |
|
| stupid wireless | 16:18 |
|
| oops | 16:18 |
| → GeertB joined | 16:23 |
| → kanru joined | 17:02 |
| → linuxmigration joined | 17:10 |
| → tchan joined | 17:12 |
| → lyakh joined | 17:18 |
| → GeertB joined | 17:18 |
| → chris2_ joined | 17:23 |
| → kanru joined | 17:25 |
| → Oejet joined | 17:53 |
| → mkrufky joined | 18:20 |
|
mkrufky
| I found quite a nasty bug in gitweb... is git@vger the proper place to report it? | 18:21 |
|
| i will give a short description: | 18:21 |
|
| ever since the recent update to gitweb on kernel.org, you can no longer view a shortlog on any branch / head other than master | 18:21 |
|
| for example: | 18:21 |
|
| http://master.kernel.org/git/?p=linux/kernel/git/mkrufky/v4l-dvb-2.6.x.y.git;a=summary | 18:22 |
|
| the master branch is current as of immediately before 2.6.20-rc3 ... but i've branched off for each kernel release, to include the stable kernel history for each 2.6.x.y kernel | 18:22 |
|
| if you click on one of the branch links, you only get the shortlog for master | 18:23 |
|
| it seems to be impossible to view the shortlog for any head / branch other than master | 18:23 |
| chris2_ → chris2 | 19:13 |
| → robinr joined | 19:18 |
| → GyrosGeier joined | 19:19 |
| → pedrocr joined | 19:33 |
|
pedrocr
| is it possible to have utf8 in git filenames? I tried to commit one and I get "error: Compara303247303243oCALM/ComparacaoCALM.tex: does not exist and --remove not passed" | 19:34 |
|
| "cg add" works but it then fails on "cg commit" | 19:34 |
| → xjjk joined | 19:43 |
| → devogon joined | 20:14 |
| ArjenL → Arjen | 20:33 |
| ← Arjen left | 20:33 |
| → cworth joined | 20:39 |
| → spuk- joined | 20:48 |
|
jeffpc
| pasky: you may have noticed by now, I renamed gq to guilt, and set up a new mirror on repo.or.cz | 21:00 |
|
| If you want, you can remove the gq mirror | 21:01 |
| → mndrix joined | 21:16 |
| → Romster joined | 21:30 |
| → clee joined | 21:48 |
|
clee
| hm. | 21:48 |
|
| any git gurus around? | 21:48 |
| → robfitz joined | 21:49 |
|
clee
| I'm getting this error from git-prune: | 21:49 |
|
| error: Packfile .git/objects/pack/pack-540263fe66ab9398cc796f000d52531a5c6f3df3.pack SHA1 mismatch with itself | 21:49 |
|
| that packfile is about 2.3GB | 21:49 |
| → nud_ joined | 21:50 |
| nud_ → nud | 21:52 |
|
nud
| clee: ask, and someone will answer if he knows. | 21:53 |
|
clee
| well, I'm mostly wondering how the packfile got that way | 21:54 |
|
| I generated it with git-repack | 21:54 |
|
| it took over nine hours. | 21:54 |
|
| (the .git directory I'm working with here is over 17GB before packing.) | 21:54 |
| → lyakh joined | 22:07 |
| → dancor joined | 22:35 |
|
dancor
| i keep getting stuck in a phantom 'Transaction is out of date' state with git svn | 22:35 |
|
robinr
| clee: I sugggest you ask on the mailing list. Sounds like a serious error somewhere. | 22:39 |
| ← mkrufky left | 22:47 |
|
clee
| robinr: okay, t hanks | 23:02 |
|
| er, thanks | 23:02 |
|
| stupid keyboard. | 23:02 |
|
| also, I think git-svnimport fucked up. | 23:02 |
|
| I generated the git repo with git-svnimport and the .git/svn2git log has over 2600 duplicate revision IDs | 23:03 |
|
| not SHA1 commit IDs, but Subversion revisions | 23:03 |
|
dancor
| how can i debug being in 'Transaction out of date' on 'git svn dcommit' when i'm not out of date | 23:10 |
|
| in fact, i have just done 'git svn fetch' | 23:11 |
|
| the only solution is to save the diff to a file, reset --hard to long ago, fetch, patch, commit | 23:12 |
|
| it's quite ridiculous | 23:12 |
|
normalperson
| dancor: you fetched, but you didn't update your working HEAD | 23:12 |
|
| after fetch, run 'git rebase remotes/git-svn' | 23:12 |
|
| git-svn fetch won't ever update your working HEAD | 23:13 |
|
dancor
| Current branch master is up to date. | 23:13 |
|
| but problem persists | 23:13 |
|
| i guess the problem is that in the past i have not rebased every time i fetched? | 23:13 |
|
normalperson
| dancor: probably | 23:14 |
|
| well, you should always rebase before you dcommit | 23:14 |
|
dancor
| oh so that is the right time | 23:14 |
|
normalperson
| (well, 'always' unless you really know what you're doing :) | 23:14 |
|
dancor
| i do not | 23:15 |
|
| so always | 23:15 |
|
normalperson
| yes :) | 23:15 |
|
dancor
| so after commiting to master | 23:17 |
|
| rebase | 23:17 |
|
| then dcommit | 23:17 |
|
normalperson
| yes | 23:17 |