Merge branch 'sg/doc-pretty-formats'
authorJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 21:28:39 +0000 (14:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 21:28:39 +0000 (14:28 -0700)
Doc update.

* sg/doc-pretty-formats:
docs/pretty-formats: stress that %- removes all preceding line-feeds

1  2 
Documentation/pretty-formats.txt
index 38040e95b5cdb137fd3575076e5f69d393c19280,32533b8980b6bb3b20c2a9a17a43c34b1e360c9a..a48d267e26c1098e003ed6342b33c6e43d57a884
@@@ -199,7 -199,7 +199,7 @@@ endif::git-rev-list[
    than given and there are spaces on its left, use those spaces
  - '%><(<N>)', '%><|(<N>)': similar to '% <(<N>)', '%<|(<N>)'
    respectively, but padding both sides (i.e. the text is centered)
 --%(trailers): display the trailers of the body as interpreted by
 +- %(trailers): display the trailers of the body as interpreted by
    linkgit:git-interpret-trailers[1]
  
  NOTE: Some placeholders may depend on other options given to the
@@@ -213,8 -213,8 +213,8 @@@ If you add a `+` (plus sign) after '%' 
  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