Re: [PATCH] object name: introduce ':::<oneline prefix>' notation

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

 



Hi,

On Fri, 23 Feb 2007, Jeff King wrote:

> On Fri, Feb 23, 2007 at 11:48:38PM +0100, Johannes Schindelin wrote:
> 
> > > To name a commit, you can now say
> > > 
> > > 	git rev-parse ':::Initial revision of "git"'
> > 
> > Alex Riesen and Shawn Pearce suggested ":/" instead of ":::", to 
> > reflect the searching nature ("/" is the key to search in "less" 
> > output).
> 
> Is there a particular argument for using a special syntax in the commit 
> argument? Why not just add a '--grep' or similar option to indicate that 
> we will be grepping the commits logs?

--grep works with git-log, but not with rev-parse, rev-list, show, diff, 
etc.

Ciao,
Dscho

-
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]