Re: [PATCH] object name: introduce ':::<oneline prefix>' notation
- From
Jeff King <peff@peff.net>
- Date
- Feb 24, 2007, 01:12 UTC
- Message-ID
- <20070224011214.GA8369@coredump.intra.peff.net>
- In-Reply-To
- <Pine.LNX.4.63.0702232347310.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Fri, Feb 23, 2007 at 11:48:38PM +0100, Johannes Schindelin wrote:
Show 6 quoted lines
> > 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?
-Peff