Skip to content

Commit

Permalink
git-show-ref doc: typeset regexp in fixed width font
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael Haggerty authored and Junio C Hamano committed Jan 13, 2012
1 parent 6ab2608 commit 87b340b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-show-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ OPTIONS
--exclude-existing[=<pattern>]::

Make 'git show-ref' act as a filter that reads refs from stdin of the
form "{caret}(?:<anything>\s)?<refname>(?:{backslash}{caret}{})?$"
form "`{caret}(?:<anything>\s)?<refname>(?:{backslash}{caret}{})?$`"
and performs the following actions on each:
(1) strip "{caret}{}" at the end of line if any;
(2) ignore if pattern is provided and does not head-match refname;
Expand Down

0 comments on commit 87b340b

Please sign in to comment.