Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
docs/pretty-formats: stress that %- removes all preceding line-feeds
author
SZEDER Gábor
<szeder.dev@gmail.com>
Thu, 15 Jun 2017 10:36:07 +0000
(12:36 +0200)
committer
Junio 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
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
95d6787
)
diff --git
a/Documentation/pretty-formats.txt
b/Documentation/pretty-formats.txt
index 47b286b33e4edd937fe6f7cbe727713e0e61e324..32533b8980b6bb3b20c2a9a17a43c34b1e360c9a 100644
(file)
--- a/
Documentation/pretty-formats.txt
+++ b/
Documentation/pretty-formats.txt
@@
-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.
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
placeholder expands to an empty string.
If you add a ` ` (space) after '%' of a placeholder, a space