From: Junio C Hamano Date: Thu, 10 Apr 2008 08:39:32 GMT Subject: Re: [PATCH 2/2] pretty=format: Add %d to show decoration Message-ID: <7v1w5exfwb.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: > With this patch, "git log --decorate --pretty=format:%d", shows the > name decoration (i.e. whenever a commit matches a ref, that ref's name > is shown). > > Signed-off-by: Johannes Schindelin > --- > > Maybe %d should expand to " ()" instead of > ""? Not necessarily. %d in --pretty="format:%h%d %s" may want to expand to "() " instead of " ()".