Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux