Re: [PATCH] pretty-format: add append line-feed format specifier
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 9, 2014, 19:37 UTC
- Message-ID
- <xmqqegvkk2k3.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <540F554C.5010301@exec64.co.uk>
Harry Jeffery <harry@exec64.co.uk> writes:
Show 5 quoted lines
> 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 '_'.