]> git.neil.brown.name Git - git.git/commitdiff
docs/pretty-formats: stress that %- removes all preceding line-feeds
authorSZEDER Gábor <szeder.dev@gmail.com>
Thu, 15 Jun 2017 10:36:07 +0000 (12:36 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Jun 2017 21:45:28 +0000 (14:45 -0700)
Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt

index 47b286b33e4edd937fe6f7cbe727713e0e61e324..32533b8980b6bb3b20c2a9a17a43c34b1e360c9a 100644 (file)
@@ -213,8 +213,8 @@ If you add a `+` (plus sign) after '%' of a placeholder, a line-feed
 is inserted immediately before the expansion if and only if the
 placeholder expands to a non-empty string.
 
-If you add a `-` (minus sign) after '%' of a placeholder, line-feeds that
-immediately precede the expansion are deleted if and only if the
+If you add a `-` (minus sign) after '%' of a placeholder, all consecutive
+line-feeds immediately preceding the expansion are deleted if and only if the
 placeholder expands to an empty string.
 
 If you add a ` ` (space) after '%' of a placeholder, a space