show-ref doc: fix carets in monospace

When commit 00bf685975 (show-ref doc: update for internal consistency, 2023-05-19) switched from double quotes to backticks around our {caret} macro, we started rendering "{caret}" literally. Fix this by replacing by a "^" character. Signed-off-by: Martin Ågren <martin.agren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Martin Ågren committed Aug 16, 2023 at 16:24 UTC 18c4aac0dd33eca76607b54d347932d6ec655056
1 file changed +2 -2
Documentation/git-show-ref.txt
+2 -2
@@ -47,7 +47,7 @@ OPTIONS
47 -d::
48 --dereference::
49
50 - Dereference tags into object IDs as well. They will be shown with `{caret}{}`
50 + Dereference tags into object IDs as well. They will be shown with `^{}`
51 appended.
52
53 -s::
@@ -78,7 +78,7 @@ OPTIONS
78 Make `git show-ref` act as a filter that reads refs from stdin of the
79 form `^(?:<anything>\s)?<refname>(?:\^{})?$`
80 and performs the following actions on each:
81 - (1) strip `{caret}{}` at the end of line if any;
81 + (1) strip `^{}` at the end of line if any;
82 (2) ignore if pattern is provided and does not head-match refname;
83 (3) warn if refname is not a well-formed refname and skip;
84 (4) ignore if refname is a ref that exists in the local repository;