From: Junio C Hamano Date: Tue, 09 Sep 2014 19:15:23 GMT Subject: Re: [PATCH] pretty-format: add append line-feed format specifier Message-ID: In-Reply-To: <540F426E.6080908@exec64.co.uk> Harry Jeffery writes: > Add a new format prefix `_` that causes a line-feed to be inserted > immediately after an expansion if the expansion expands to a non-empty > string. This is useful for when you would like a line for an expansion > to be prepended, but only when the expansion expands to a non empty > string, such as inserting a '%_d' expansion before a commit to show any > refs pointing towards it. Is this different from "%n%-d"?