Re: [script] ge: export commits as patches

2005-04-20 Thread Zlatko Calusic
Ingo Molnar <[EMAIL PROTECTED]> writes: > TREE1=$(cat-file commit 2>/dev/null $1 | head -4 | grep ^tree | cut -d' ' -f2) -- And to make it easier on your eyes, you can always rewrite stuff like that (mentioned everywhere

Re: [script] ge: export commits as patches

2005-04-19 Thread David A. Wheeler
Forget my earlier "aspatch" proposal, that's a lousy name. How about "mkpatch"? Seems like a reasonable name for a command that makes a patch. GNU Arch uses that command name. CVS & Subversion basically do this as part of "diff" (which is another possibility). --- David A. Wheeler - To unsubscrib

Re: [script] ge: export commits as patches

2005-04-19 Thread David A. Wheeler
Petr Baudis wrote: Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... is there any 'export commit as patch' support in git-pasky? Nice idea. I will add it, probably as 'git patch'. Eek! It's a nice idea, and it'd be g

Re: [script] ge: export commits as patches

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 08:56:07PM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... > and please fix gitXnormid.sh to simply echo nothing and return with a -1 > exit value when a nonsensical ID is passed to it. Right now the output > is quite ugly if you do '

Re: [script] ge: export commits as patches

2005-04-19 Thread Greg KH
On Tue, Apr 19, 2005 at 07:03:20PM +0200, Petr Baudis wrote: > Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter > where Ingo Molnar <[EMAIL PROTECTED]> told me that... > > is there any 'export commit as patch' support in git-pasky? I didnt find > > any such command (maybe it got

Re: [script] ge: export commits as patches

2005-04-19 Thread Ingo Molnar
* Petr Baudis <[EMAIL PROTECTED]> wrote: > Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter > where Ingo Molnar <[EMAIL PROTECTED]> told me that... > > is there any 'export commit as patch' support in git-pasky? I didnt find > > any such command (maybe it got added meanwhile),

Re: [script] ge: export commits as patches

2005-04-19 Thread Petr Baudis
Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter where Ingo Molnar <[EMAIL PROTECTED]> told me that... > is there any 'export commit as patch' support in git-pasky? I didnt find > any such command (maybe it got added meanwhile), so i'm using the 'ge' > hack below. > > e.g. i t

[script] ge: export commits as patches

2005-04-19 Thread Ingo Molnar
is there any 'export commit as patch' support in git-pasky? I didnt find any such command (maybe it got added meanwhile), so i'm using the 'ge' hack below. e.g. i typically look at commits via 'git log', and then when i see something interesting, i look at the commit via the 'ge' script. E.g.