Re: [PATCH] object name: introduce ':::<oneline prefix>' notation
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 24, 2007, 01:21 UTC
- Message-ID
- <Pine.LNX.4.63.0702240220300.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070224011214.GA8369@coredump.intra.peff.net>
Hi,
On Fri, 23 Feb 2007, Jeff King wrote:
Show 13 quoted lines
> 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