docs/pretty-formats: stress that %- removes all preceding line-feeds
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
SZEDER Gábor committed
Jun 15, 2017 at 12:36 UTC
8abc09c0e38659bb438475eca768a035ed8d85b9
1 file changed
+2
-2
Documentation/pretty-formats.txt
+2
-2
@@ -213,8 +213,8 @@ If you add a `+` (plus sign) after '%' of a placeholder, a line-feed
213
is inserted immediately before the expansion if and only if the
214
placeholder expands to a non-empty string.
215
216
-If you add a `-` (minus sign) after '%' of a placeholder, line-feeds that
217
-immediately precede the expansion are deleted if and only if the
216
+If you add a `-` (minus sign) after '%' of a placeholder, all consecutive
217
+line-feeds immediately preceding the expansion are deleted if and only if the
218
placeholder expands to an empty string.
219
220
If you add a ` ` (space) after '%' of a placeholder, a space