From: Junio C Hamano Date: Tue, 09 Sep 2014 19:37:48 GMT Subject: Re: [PATCH] pretty-format: add append line-feed format specifier Message-ID: In-Reply-To: <540F554C.5010301@exec64.co.uk> Harry Jeffery writes: > On 09/09/14 20:15, Junio C Hamano wrote: >> Is this different from "%n%-d"? >> > > Yes. "%n%-d" will place the newline before the expansion, not after. Maybe "%[-+ ]" needs to be rethought, instead of making things worse by turning it into "%[-_+ ]", as the next person who comes would want to add space after the expansion and would need to find yet another letter like you did with '_'.