From 94955d576b871f33c8f6863f3980c6107d348e47 Mon Sep 17 00:00:00 2001 From: Glen Choo Date: Mon, 1 Aug 2022 21:04:45 +0000 Subject: [PATCH] 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>} | \{<foo>}^M | different | | {} | {<foo>} | {<foo>} | same | | \{} | {<foo>} | \{<foo>}^M | different | | \{foo\} | {foo} | {foo} | same | | \{\} | {} | \{}^M | different | | \{} | {} | {} | same | | {\} | {} | {} | same | The only instance of this biting us is "@\{\}" 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 Signed-off-by: Junio C Hamano --- Documentation/git-reflog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 5ced7ad4f8..db9d46edfa 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -22,7 +22,7 @@ depending on the subcommand: [--rewrite] [--updateref] [--stale-fix] [--dry-run | -n] [--verbose] [--all [--single-worktree] | ...] 'git reflog delete' [--rewrite] [--updateref] - [--dry-run | -n] [--verbose] @\{\}... + [--dry-run | -n] [--verbose] @{}... 'git reflog exists' Reference logs, or "reflogs", record when the tips of branches and