Skip to content

Commit 74567ac

Browse files
committed
Merge branch 'sg/doc-pretty-formats' into maint
Doc update. * sg/doc-pretty-formats: docs/pretty-formats: stress that %- removes all preceding line-feeds
2 parents 77bcac3 + 8abc09c commit 74567ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/pretty-formats.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ If you add a `+` (plus sign) after '%' of a placeholder, a line-feed
213213
is inserted immediately before the expansion if and only if the
214214
placeholder expands to a non-empty string.
215215

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
218218
placeholder expands to an empty string.
219219

220220
If you add a ` ` (space) after '%' of a placeholder, a space

0 commit comments

Comments
 (0)