]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation/git-reflog: remove unneeded \ from \{
authorGlen Choo <chooglen@google.com>
Mon, 1 Aug 2022 21:04:45 +0000 (21:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Aug 2022 21:33:44 +0000 (14:33 -0700)
commit94955d576b871f33c8f6863f3980c6107d348e47
treeb05f73bca0e2c473d0318d490438cccdcb5b9715
parent00d12607a27e387ad78b5957afa05e89c87e83a5
Documentation/git-reflog: remove unneeded \ from \{

There are some inconsistencies with how different asciidoc environments
handle different combinations of "\{<>}", e.g. these results were
observed with asciidoc on two different environments:

  | Input     | Output (env A) | Output (env B)   | same/different |
  |-----------+----------------+------------------+----------------|
  | \{<foo>\} | {&lt;foo&gt;}  | \{&lt;foo&gt;}^M | different      |
  | {<foo>}   | {&lt;foo&gt;}  | {&lt;foo&gt;}    | same           |
  | \{<foo>}  | {&lt;foo&gt;}  | \{&lt;foo&gt;}^M | different      |
  | \{foo\}   | {foo}          | {foo}            | same           |
  | \{\}      | {}             | \{}^M            | different      |
  | \{}       | {}             | {}               | same           |
  | {\}       | {}             | {}               | same           |

The only instance of this biting us is "@\{<specifier>\}" in
Documentation/git-reflog.txt; all other combinations of "\{<>}" (e.g. in
Documentation/revisions.txt) seem to render consistently.

Fix this inconsistent rendering by removing the unnecessary "\" in
Documentation/git-reflog.txt.

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-reflog.txt