From: SZEDER Gábor Date: Thu, 15 Jun 2017 10:36:07 +0000 (+0200) Subject: docs/pretty-formats: stress that %- removes all preceding line-feeds X-Git-Tag: v2.13.2~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8abc09c0e38659bb438475eca768a035ed8d85b9;p=thirdparty%2Fgit.git docs/pretty-formats: stress that %- removes all preceding line-feeds Signed-off-by: SZEDER Gábor Signed-off-by: Junio C Hamano --- diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index 47b286b33e..32533b8980 100644 --- 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. -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