From: Jeff King Date: Wed, 03 Sep 2008 20:36:16 GMT Subject: Re: [PATCH 1/2] add '%d' pretty format specifier to show decoration Message-ID: <20080903203616.GB32223@coredump.intra.peff.net> In-Reply-To: <7v4p4xat3v.fsf@gitster.siamese.dyndns.org> On Wed, Sep 03, 2008 at 01:10:12PM -0700, Junio C Hamano wrote: > I agree with the above reasoning. If we go with surrounding parentheses, > it might even make sense to include a SP _before_ the opening parenthesis, > so that "%h %s%d" expands to either of these: > > $ git show -s --pretty=format:'%h %s%d' v1.6.0^0 v1.6.0^1 > ea02eef GIT 1.6.0 (refs/tags/v1.6.0) > 373a273 Merge git-gui 0.11.0 Isn't that what you argued against in Dscho's version of the patch? http://mid.gmane.org/7v1w5exfwb.fsf@gitster.siamese.dyndns.org -Peff