Skip to content

Commit 94955d5

Browse files
chooglengitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 00d1260 commit 94955d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-reflog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ depending on the subcommand:
2222
[--rewrite] [--updateref] [--stale-fix]
2323
[--dry-run | -n] [--verbose] [--all [--single-worktree] | <refs>...]
2424
'git reflog delete' [--rewrite] [--updateref]
25-
[--dry-run | -n] [--verbose] <ref>@\{<specifier>\}...
25+
[--dry-run | -n] [--verbose] <ref>@{<specifier>}...
2626
'git reflog exists' <ref>
2727

2828
Reference logs, or "reflogs", record when the tips of branches and

0 commit comments

Comments
 (0)