Re: [PATCH] Allow ':/<oneline-prefix>' syntax to work with save_commit_buffer == 0
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 3, 2007, 21:34 UTC
- Message-ID
- <7vhcizh38y.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <Pine.LNX.4.64.0712031841520.27959@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 14 quoted lines
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> > --- > > On Mon, 3 Dec 2007, Jeff King wrote: > > > On Mon, Dec 03, 2007 at 10:55:15AM +0000, Johannes Schindelin wrote: > > > > > But then, my patch also works when save_commit_buffer == 0. > > > But I can refactor this into its own patch, since it really is > > > a separate issue. > > > > Agreed. > > Here we go.
The log message is a bit lacking. I would have expected "git-show command can take ':/prefix' as an argument to name a commit whose subject begins with the prefix, but git-foobar command didn't and instead errored out. This fixes it so that ':/prefix' syntax can be used for any command that wants to take a commit object name".