| 2006-06-27 |
| → agile joined | 01:35 |
| → gambler joined | 01:37 |
| → anholt joined | 02:31 |
| → agile joined | 02:37 |
| → PugMajere joined | 02:43 |
| → DrNick joined | 02:44 |
| → matled joined | 03:04 |
|
z3ro
| anyone know if there is a way to get the initial commit it for use with git-format-patch (to generate a patchset from the begining of the git history to the end) | 03:39 |
|
| s/commit it/commit id/ | 03:39 |
| → tonyj joined | 04:12 |
| → tonyj joined | 04:25 |
| → Pug|Lagged joined | 04:29 |
| → DrNick joined | 05:24 |
| → Tv joined | 06:25 |
| → kanru joined | 07:15 |
| → robfitz joined | 07:21 |
| → dst_ joined | 07:27 |
| dwmw2_gone → dwmw2 | 07:56 |
| → ferdy joined | 08:19 |
| → anders_ joined | 08:25 |
| → cworth joined | 09:09 |
| → anholt joined | 09:32 |
| dwmw2 → dwmw2_gone | 10:00 |
| → chris2 joined | 10:58 |
| → coywolf joined | 11:05 |
| → GyrosGeier joined | 11:36 |
| → cworth joined | 11:37 |
| → Oejet joined | 11:44 |
| → robin joined | 12:19 |
| dwmw2_gone → dwmw2 | 12:29 |
| → boto joined | 12:55 |
| → timlarson_ joined | 13:00 |
| → anholt joined | 13:04 |
| → robin joined | 13:19 |
|
| jdl blinks | 13:30 |
|
| Oejet eyeballs jdl. | 13:32 |
|
jdl
| Who you lookin' at? | 13:32 |
|
| jdl got setn 4 patches this morning. The first one doesn't apply. | 13:33 |
|
jdl
| Feh. | 13:33 |
|
| s/setn/sent | 13:33 |
|
| Two bloody hunks and it doesn't apply. | 13:33 |
|
| How do I get pick-axe to work again? | 13:39 |
|
| I have one line I want in some file I want to figure out what happened to it. | 13:39 |
| → GeertB joined | 13:43 |
|
kampasky
| cg-log -S 'line' file | 13:43 |
|
| :^) | 13:43 |
|
jdl
| Well then. | 13:44 |
|
| davenport.home.jdl.com 1078 % git log -S '#define CFG_PCI_MEMORY_SIZE' -- include/configs/MPC8641HPCN.h | 13:46 |
|
| fatal: bad revision '#define CFG_PCI_MEMORY_SIZE' | 13:46 |
|
| Feh. | 13:46 |
|
Oejet
| jdl: Drop the space after -S. | 13:47 |
|
jdl
| Yeah, just discovered that. Thanks. | 13:48 |
| → benlau joined | 13:50 |
| → Tv joined | 13:51 |
| → agile joined | 13:52 |
|
pjz
| ls/whois jdl | 13:57 |
|
Oejet
| pjz: Good question. | 13:57 |
|
pjz
| oh, I know who he is | 13:57 |
|
| just suprised to see him here | 13:57 |
|
| jdl is Jon Loeliger; he's got a couple of git articles in the Linux Magazine | 13:58 |
|
jdl
| Hi! | 13:58 |
|
pjz
| woo, he's still here even :) | 13:59 |
|
jdl
| Indeed. | 13:59 |
|
| There are other surprising folks present here occasionally too. | 14:00 |
|
pjz
| I'd imagine | 14:00 |
|
| I'm trying to champion git at work, but... they're still using cvs | 14:01 |
|
jdl
| Smack 'em. | 14:01 |
|
| Use the "All the Cool People use git." argument too. | 14:01 |
|
pjz
| bunch of oldschool ex-Kernel Group guys | 14:01 |
|
jdl
| In Austin? | 14:01 |
|
pjz
| yah | 14:01 |
|
jdl
| They should know better. :-) | 14:02 |
|
| We could all meet for a brew and discuss it too. | 14:02 |
|
pjz
| everyone's always busy; difficult to do. | 14:03 |
|
| jdl understands... | 14:03 |
|
pjz
| svn would be easier to push because the commands are essentially identical | 14:04 |
|
jdl
| You could do the underhanded git/cvs-server approach, too, perhaps? | 14:04 |
|
| Set up a git tree, and then front it as CVS with git-server, perhaps? | 14:05 |
|
| Make 'em send you patches. | 14:05 |
| → GeertB joined | 14:05 |
|
jdl
| I'm doing that in at least one instance. | 14:05 |
|
pjz
| I don't know how that would work | 14:07 |
|
jdl
| Technically, or politically? | 14:08 |
|
pjz
| technically | 14:08 |
|
| b/c to work politically they'd have to be able to use identical (or very similar) commands from the cmdline | 14:09 |
|
jdl
| Are you the maintainer of the repo? Do they hav commit ability on it too? | 14:10 |
|
pjz
| everyone has commit ability n the main repo | 14:10 |
|
jdl
| Perhaps you should argue for Cogito. | 14:10 |
|
| It is pretty similar to CVS in its presentation. | 14:10 |
|
| Granted, cmds are spelled differently... | 14:11 |
|
pjz
| hrm | 14:11 |
|
| cg looks pretty thin.. I mean, it doesn't seem to add much on top of git | 14:13 |
|
jdl
| Conceptually, it is different in that it totally hides the Index. | 14:13 |
|
pjz
| hrm, I must not grok git well enough yet | 14:14 |
|
jdl
| Perhaps my second article might help some. :-) | 14:16 |
|
pjz
| wow, if only I knew where I could get a copy | 14:19 |
|
| though I did hand the secretary the Linux Magazine subscription card the other day and say 'order this' | 14:20 |
|
jdl
| Heh. Cool. | 14:20 |
|
| So, the online version of Linux-Mag articles appear online 60-days after print. | 14:20 |
|
| My 2nd article appeared in the May 2006 issue (Apache cover). It might be about time for it to appear online. Not sure yet. | 14:21 |
|
pjz
| it's not 60 days after May yet | 14:22 |
|
| sadly | 14:24 |
|
jdl
| Yeah, I just checked too. Not yet. | 14:25 |
|
| Ooo. Not even the April edition is up yet. :-( | 14:26 |
|
kampasky
| pjz: it doesn't really add much on top of git (well it does automate couple of things for you), but what it does add (and is its main purpose) is an intreface that should be trivial to grok for a cvs user | 14:29 |
| → int joined | 14:38 |
|
pjz
| hrm, okay, so it may be what I need to convert the hordes here | 14:38 |
|
jdl
| What is the nature of their reluctance? | 14:39 |
|
pjz
| I haven't lobbied too hard yet, just mentioned that "something better than CVS would be a good idea" | 14:39 |
|
| but I can predict pushback if it's too difficult to learn or grok or use. | 14:41 |
| → anholt joined | 14:44 |
|
pjz
| so: "Why migrate at all?" is probably the first question. Having a set of best practices and advantages they bring would be nice, but I'm not holding my breath. | 14:45 |
|
jdl
| Have you ever been annoyed by CVS' branch behavior? | 14:46 |
|
| Do you do any form of distributed development? | 14:46 |
|
| Is CVS painfully slow for you? | 14:47 |
|
pjz
| no distributed development really | 15:01 |
|
| cvs isn't painful yet | 15:01 |
|
| otoh, atomic commits are a win | 15:02 |
|
| er, changeset commits instead of individual file commits I mean | 15:02 |
|
int
| i wonder if easy way exist to get changes from http://www.kernel.org/git/?p=linux/kernel/git/airlied/intelfb-2.6.git;a=summary ? | 15:08 |
|
jdl
| Just clone the tree or pull it? | 15:08 |
|
int
| ok, i have cloned tree, how can i get intelfb specific changes? | 15:10 |
|
jdl
| What do you mean? | 15:11 |
|
| You have them in that tree, right? | 15:11 |
|
int
| jdl: yeah | 15:11 |
|
| jdl: i want a patch to apply it to plain 2.6.17 | 15:11 |
|
jdl
| Is 2.6.17 tagged in that tree? Is that tree cloned from linus-2.6.git? | 15:12 |
|
int
| jdl: yeah, i see v2.6.17 tag | 15:12 |
|
jdl
| Are your changes on a branch, tagged or where? | 15:13 |
|
| The intelfb changes you want. | 15:13 |
|
| How are they added to that tree? | 15:13 |
|
| You might be able to do "git diff v2.6.17 HEAD" straight up? | 15:14 |
|
| git diff v2.6.17 intelfb | 15:14 |
| Pug|Lagged → PugMajere | 15:14 |
|
int
| cg-branch-ls show only one branch "origin" | 15:14 |
|
jdl
| You are working on the "master" branch, though? | 15:15 |
|
int
| git diff v2.6.17 HEAD shows a lot of non-intelfc specific changes | 15:16 |
|
| jdl: i din't make any changes in that repo | 15:17 |
|
jdl
| Understood. | 15:17 |
| → ruskie joined | 15:17 |
|
jdl
| So maybe do this: | 15:18 |
|
| make a new branch with vanilla 2.6.17 (from linus-2.6.git) pulled into it. | 15:18 |
|
| Then compare your head in this tree now, to that 2.6.17 pull. | 15:19 |
|
int
| jdl: into the same repo? | 15:19 |
|
jdl
| But I feel you should have 2.6.17 here, in that repo already. | 15:19 |
|
| You can pull any branch from any repo you want into your repo. | 15:19 |
|
| Wait. You can _fetch_ any branch.... | 15:20 |
|
| Sometimes you can pull... :-) | 15:20 |
|
| OK. That repo has the patches you likely want directly on a branch. | 15:23 |
|
| That branch appears to be called intelfb-patches. | 15:23 |
|
| Invoke the name "pasky" to figure out how to add that branch to your repo when using Cogito... | 15:24 |
|
| Oh mighty pasky-ky-ky! | 15:24 |
|
int
| cg-clone copy only one branch from repo? | 15:27 |
|
jdl
| I believe so. | 15:27 |
|
| but cg add-branch I think is your key here. | 15:27 |
|
| (I don't use Cogito, so I'm not sure.) | 15:28 |
|
int
| jdl: ok, i've just added intelfb-patches branch, how can i get diff? | 15:31 |
|
jdl
| "git diff v2.6.17 intelfb-patches" might do it. | 15:32 |
|
| "git format-patch v2.6.17 intelfb-patches" might also. | 15:33 |
|
| cg-mkpatch in some form too...? | 15:33 |
|
int
| jdl: cg-status says that intelfb-patches has same id as origin and master branch | 15:36 |
|
| it seems that git diff v2.6.17 intelfb-patches gives me diff between v2.6.17 and head | 15:37 |
|
| how can i see which branches exist in remote repo? | 15:38 |
|
jdl
| git-ls-remote | 15:39 |
|
| do this: git format-patch --stdout v2.6.17.. | less | 15:40 |
|
| It will generate a series of patches... | 15:41 |
|
int
| i'm now doing: cg-branch-add linux-2.6 git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git, and then i will try to see diff betwen intelfb-patxhes and linux-2.6 | 15:41 |
|
| jdl: git-ls-remote says that master and intelfb-patches has different ids, but in my repo they have same id (same as master in remote repo) | 15:49 |
|
| can i get diff between two branches in remote repo? | 15:49 |
|
jdl
| Did you "pull" or "fetch" | 15:50 |
|
| ? | 15:50 |
|
| Pull will have merged them. | 15:50 |
|
| no, the branches have to be local to diff them. | 15:50 |
|
| You might refer to HEAD^ or intelfb-patches^ to get the commit prior to the merge commit if that is what happened. Or so. | 15:51 |
|
| How come "git apply --check my.patch" doesn't show whitespace warning issues? | 15:52 |
|
int
| jdl: it seems i added branch in a wrong way | 15:54 |
|
| how can i add remote branch with git? | 15:54 |
|
jdl
| various ways: git fetch URL remotename:localname | 15:55 |
|
| You can add a "Pull: remotename:localname" line to a .git/remotes/... file as well. | 15:55 |
| → cworth joined | 15:56 |
|
jdl
| Didn't cg do this for you already? | 15:56 |
|
int
| ok, i found my mistake. right way: cg-branch-add intelfb 'git://git.kernel.org/pub/scm/linux/kernel/git/airlied/intelfb-2.6.git#intelfb-patches' | 15:58 |
|
| now cg-diff -c -r intelfb show me right changes :) | 15:58 |
|
| jdl: thanks for help! | 16:01 |
|
jdl
| Excellent. Most welcome. | 16:06 |
| → GeertB joined | 16:13 |
| dwmw2 → dwmw2_gone | 16:26 |
| → z3ro joined | 16:42 |
| → chris2 joined | 16:51 |
| → GyrosGeier joined | 17:06 |
| → boto joined | 17:24 |
| → PugMajere joined | 17:34 |
| → flobber joined | 17:55 |
| → gitster joined | 18:07 |
| → krh joined | 18:17 |
| → juvenis joined | 18:18 |
|
| jdl is back from lunch! | 18:34 |
| → mchehab joined | 18:36 |
| ← mchehab left | 18:37 |
| → Eludias joined | 18:49 |
| → moh joined | 18:54 |
| → mort_ joined | 19:12 |
| mort_ → moh | 19:14 |
|
matled
| gitster: did you see the documentation patch for git grep also mentionioning support for multiple patterns? and what do you think about GIT_TRACE and git grep --and (this should probably get a short option too)? | 19:22 |
| → Beber` joined | 19:24 |
|
gitster
| (1) yes. (2) fun toy with slightly dubious practical use but not strongly opposed to it -- if it does not deal with some commands as Johannes say it might be more confusing than helpful. (3) grep --and may sometimes useful but I am wondering if we would rather want to do something like expression `find` command let's you build. IOW,... | 19:25 |
|
| git grep --extended-expression '(' 'foo' -o 'bar' ')' -a 'frotz' | 19:25 |
|
| About -e documentation, (1-1) real grep lets you have multiple -e, so it might not be worth mentioning, (1-2) if we document it, the way to do so may be "[ -e <pattern> ]..." with textual commentary that says "if you have only one pattern that cannot be mistaken as an option, you can omit -e". | 19:27 |
|
matled
| that looks nice too, one common thing i just do is just adding another |grep foo to narrow the search down until I have what I want, and then I've got no context anymore, allowing to specify how the patterns are combined would be fine too, but I don't know how complicated that would be to implement and how much use it still gets if it is too complicated to use | 19:28 |
|
gitster
| that's true. -e 'foo.*bar' -e 'bar.*foo' does not scale, so I do understand wanting to say -e 'foo' --and -e 'bar', but I am just wondering if that is too restricted enhancement. | 19:31 |
|
matled
| err | 19:32 |
|
gitster
| once a "too restricted enhancement" is in place, more generic enhancement if we ever want to do so (the 'expression' thing, which I am not sure either) needs to be made backward compatible, so... | 19:32 |
|
matled
| so with the extended-expression way you'd have to do something like -e foo -a -e bar -a -e baz to get the same result as --and? | 19:36 |
| dkowis → evilDiktatz0r | 19:38 |
|
matled
| so I'm not sure if this is really a problem, with the extended-expression thing one could specify exactly how the patterns are combined (using braces, and, or, not) and the other options just changes the default behaviour if there is more than one pattern from matching if one pattern matches to matching when any pattern matches, so this does not affect the more explicit first version | 19:44 |
| → moh joined | 19:44 |
| → anholt joined | 19:45 |
| → ShadeHawk joined | 19:55 |
| → yacc joined | 19:56 |
|
ShadeHawk
| How strongly hardcoded in git is "one line summary + empty line + longer description" format of commit message? | 19:56 |
|
| I am about to import from CVS, where this format was _not_ preserved. | 19:57 |
|
gitster
| Only porcelainish. The core does not care. | 19:57 |
|
ShadeHawk
| which commands would break, and which would use first line for summary, but not e.g. add empty line where isn't one, or remove second line of message? | 19:58 |
|
pasky
| porcelainish shouldn't care per se either, it's only that in some tools text will be cut off in the middle of sentence | 19:58 |
|
| except that iirc there was some bug in git-rebase | 19:58 |
|
| but gitster will know that better :) | 19:58 |
|
ShadeHawk
| was? | 19:59 |
|
| I won't rebase CVS imported sources, I think... | 19:59 |
|
| I'm just fed up with CVS. No file copying support, branching I cannot understand... | 20:02 |
| → juvenis- joined | 20:05 |
|
Oejet
| ShadeHawk - CVS: 0 - 1 | 20:05 |
| → argyro joined | 20:05 |
|
argyro
| How do I get this source? | 20:05 |
|
| http://bcm43xx.berlios.de/?go=Development | 20:06 |
|
| What do I type...I can't figure it out. I've used subversion and cvs before..but this doesn't work/make sense for me...here is what I get. | 20:06 |
|
jdl
| git clone <URL> | 20:06 |
|
| cg-clone <URL> | 20:06 |
|
argyro
| http://www.rafb.net/paste/results/sJPnlR74.html | 20:07 |
|
| I did that jdl | 20:07 |
|
| I get those results. | 20:07 |
|
jdl
| You don't have git installed. | 20:08 |
|
| You need _git_, not the git file manager. | 20:08 |
|
| Not the GNU Interactive Tools package. | 20:08 |
|
| Type this to verify you are using git, the SCM tool: | 20:09 |
|
| git --version | 20:09 |
|
| git version 1.4.0-dirty | 20:09 |
|
argyro
| jdl, ok, I have cogito installed; what do I type now?(I'm on Ubuntu Dapper) | 20:11 |
|
jdl
| Do you have git installed? | 20:11 |
|
robin
| argyro: try git-clone instead of git clone | 20:11 |
|
jdl
| What does "git --version" say? | 20:12 |
|
argyro
| http://www.rafb.net/paste/results/zIpxhP72.html | 20:13 |
|
| That is what I get with git-clone robin | 20:13 |
|
jdl
| Don't do this as root. | 20:13 |
|
robin
| argyro: you have and extra clone there, remove it | 20:13 |
|
jdl
| No .. | 20:13 |
|
| loses. | 20:13 |
|
eleusis
| ShadeHawk: hello | 20:15 |
|
argyro
| http://www.rafb.net/paste/results/JyiESk23.html | 20:15 |
|
| I got rid on one "clone" and I typed the command as non-root | 20:16 |
|
jdl
| Looks like it worked. | 20:16 |
|
| do you have a wireless-2.6 directory now? | 20:16 |
|
argyro
| jdl, It's just hanging..should I control c? | 20:16 |
|
robin
| argyro: uninstall the git-package if you don't need it | 20:16 |
|
jdl
| No! | 20:17 |
|
| do a "top" in a different window. | 20:17 |
|
argyro
| jdl, yes, I have that directory...but it's empty | 20:17 |
|
jdl
| Waaaait for it.... | 20:17 |
|
argyro
| It's been 3 minutes | 20:17 |
|
jdl
| How fast is your link? | 20:17 |
|
argyro
| 10mbit | 20:17 |
|
jdl
| You are dowloading a lot. | 20:17 |
|
argyro
| It's just a small wireless module | 20:18 |
|
jdl
| 150M | 20:18 |
|
argyro
| damn | 20:18 |
|
| Why are there no files in the directory yet? | 20:18 |
|
jdl
| Ah, not full linuux tree then? | 20:18 |
|
robin
| usually git clone starts talking numbers right away | 20:18 |
|
argyro
| jdl, no | 20:18 |
|
jdl
| Do you have firewall problems? | 20:18 |
|
argyro
| no | 20:18 |
|
| iptables is accepting all | 20:19 |
|
robin
| jdl: I tried the command and not much happens here either | 20:19 |
|
jdl
| Cool. | 20:19 |
|
argyro
| robin, Are you getting the same trunk as I am? | 20:20 |
|
jdl
| This is a full linux tree | 20:20 |
| evilDiktatz0r → dkowis | 20:20 |
|
ShadeHawk
| When git-rebase was corrected c.f. commits not using "summary\n\nlonger description" commit format? What was the bug? | 20:21 |
|
robin
| the data starts flowing after a while | 20:22 |
|
jdl
| Waaaiit for it... | 20:22 |
|
| It is possible that the repository isn't packed on kernel.org too. | 20:23 |
|
robin
| maybe high load | 20:23 |
|
jdl
| Maybe one of k.o's machines is slower than the other too. | 20:23 |
| → _yacc_ joined | 20:23 |
| _yacc_ → yacc | 20:24 |
|
robin
| ShadeHawk: I think rebase was using git-am (the mail import stuff) | 20:26 |
| → Paavo_ joined | 20:30 |
|
jdl
| Getting any data yet, argyro? | 20:30 |
|
argyro
| jdl, no | 20:33 |
| → dwmw2_gone joined | 20:34 |
|
robin
| strace -p <pid-of-git-clone> and se if it does anything, else abort | 20:37 |
| dwmw2_gone → dwmw2 | 20:40 |
| → cworth joined | 20:47 |
|
jdl
| What version of git are you using? | 20:49 |
| → Paavo joined | 20:57 |
| → lilo joined | 21:04 |
| → DrNick joined | 21:07 |
|
ShadeHawk
| Hrmmm... cvsimport did error out when I tried to import CVS sources halfway between modules (i.e. there is basename module, basename/src/name-a, and basename/src/name-b; basename, name-a and name-b are CVS modules, I tried to import from basename/src)... | 21:12 |
|
| with rather strange error message... | 21:12 |
| → cworth joined | 21:21 |
| → FrankB joined | 21:30 |
|
FrankB
| Hello! I have just tried to merge another branch into master, while master had uncommited local changes. The merge failed and I can't resolve the errors at the moment. Is there a possibility to revert the changes that the uncompleted merge introduced while keeping the changes that were present before? | 21:35 |
| → anholt joined | 21:37 |
| → merlyn joined | 21:40 |
|
merlyn
| what were the instructions for restarting a stopped "git-svn fetch" again? | 21:40 |
|
| git-fsck-objects | 21:41 |
|
| and something about making sure the svn is consistent | 21:41 |
|
| and has the right ref for the remote | 21:41 |
|
normalperson
| merlyn: are you using the svn libraries or command-line client? | 21:55 |
|
| if you're using the libraries, nothing, really | 21:57 |
|
| with the command-line client, svn revert -R .git/svn/git-svn/tree, svn up -r<last revision imported> | 21:57 |
|
| err svn up -r <last revision imported> .git/svn/git-svn/tree, of course | 21:58 |
|
| you can get the last revision imported by looking at the git-svn-id: line of the current remotes/git-svn commit | 21:58 |
|
| that's probably the fastest, most bandwidth efficient way | 21:59 |
|
| rm -rf .git/svn/git-svn/tree .git/svn/git-svn/.rev_db .git/svn/git-svn/index && git-svn rebuild also works :> | 22:00 |
| → DrNick2 joined | 22:01 |
| DrNick2 → DrNick | 22:02 |
| → GeertB joined | 23:23 |
| dwmw2 → dwmw2_gone | 23:25 |
| → Beber` joined | 23:45 |
|
dormando
| what're a few other distributed RCS things? | 23:51 |
|
| I forget the names :( | 23:51 |
|
pasky
| there's git's "amicable arch-nemesis" mercurial, others worth a mention might include monotone, darcs, possibly svk | 23:57 |
|
DrNick
| has anyone talked about replacing SHA-1 in git with SHA-256 or something else? | 23:58 |
|
pasky
| not very seriously | 23:58 |
|
| but it should not be very hard | 23:58 |
|
DrNick
| just introduce some new tree/commit/tag object types that use the new hashes? | 23:59 |
|
pasky
| if you toss backwards compatibility, it should be just a matter of replacing a few routines, actually; so updating documentation might be more work ;) | 23:59 |
| → gitster joined | 23:59 |
|
pasky
| no, that's quite a bad way to go about it, I'd say | 23:59 |