Re: [script] ge: export commits as patches
- From
Greg KH <greg@kroah.com>
- Date
- Apr 19, 2005, 19:11 UTC
- Message-ID
- <20050419191128.GA4871@kroah.com>
- In-Reply-To
- <20050419170320.GG12757@pasky.ji.cz>
On Tue, Apr 19, 2005 at 07:03:20PM +0200, Petr Baudis wrote:
Show 12 quoted lines
> Dear diary, on Tue, Apr 19, 2005 at 03:48:43PM CEST, I got a letter > where Ingo Molnar <mingo@elte.hu> 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 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. > > "ge 834f6209b22af2941a8640f1e32b0f123c833061" done in the kernel tree > > will output a particular commit's header and the patch. > > Nice idea. I will add it, probably as 'git patch'.
Ah, thanks for doing this. 'git patch' works great (but you might want to mention in the 'help' that you can give the commit id for the patch, if you don't want to see the HEAD patch.)
thanks,
greg k-h