From: Adrian Bunk Date: Wed, 27 Aug 2008 21:13:26 GMT Subject: Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins Message-ID: <20080827211326.GI11734@cs181140183.pp.htv.fi> In-Reply-To: <20080827210555.GF18340@parisc-linux.org> On Wed, Aug 27, 2008 at 03:05:56PM -0600, Matthew Wilcox wrote: > On Wed, Aug 27, 2008 at 04:38:13PM -0400, Jeff Garzik wrote: > > I use it to spit out a patch for a specific commit: > > > > git-diff-tree -p $COMMIT > > > > Though probably someone will now come along and tell me I'm am > > old-timer, and there is a shorter command that accomplishes the same > > thing :) > > git-show -p $COMMIT ? > > It also gives you the commit message, but that's not a hardship usually > ... I'm usually using git-show --pretty=oneline $COMMIT cu Adrian BTW: I'd love to get a --pretty=noline -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed