From: Jeff King Date: Wed, 14 Oct 2009 05:00:38 GMT Subject: Re: [RFC PATCH 3/5] stash: Use new %g/%G formats instead of sed Message-ID: <20091014050038.GB31810@coredump.intra.peff.net> In-Reply-To: <77e591b80021efc265fea1a101ce6b7124ea832e.1255380039.git.trast@student.ethz.ch> On Mon, Oct 12, 2009 at 11:06:05PM +0200, Thomas Rast wrote: > list_stash () { > have_stash || return 0 > - git log --no-color --pretty=oneline -g "$@" $ref_stash -- | > - sed -n -e 's/^[.0-9a-f]* refs\///p' > + git log --format="%g: %G" -g "$@" $ref_stash You dropped the trailing "--" which is needed for disambiguation. -Peff