From: Johannes Schindelin Date: Sat, 24 Feb 2007 01:21:22 GMT Subject: Re: [PATCH] object name: introduce ':::' notation Message-ID: In-Reply-To: <20070224011214.GA8369@coredump.intra.peff.net> 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