git-show-ref doc: typeset regexp in fixed width font
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
6ab260809b
commit
87b340b967
@ -73,7 +73,7 @@ OPTIONS
|
|||||||
--exclude-existing[=<pattern>]::
|
--exclude-existing[=<pattern>]::
|
||||||
|
|
||||||
Make 'git show-ref' act as a filter that reads refs from stdin of the
|
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:
|
and performs the following actions on each:
|
||||||
(1) strip "{caret}{}" at the end of line if any;
|
(1) strip "{caret}{}" at the end of line if any;
|
||||||
(2) ignore if pattern is provided and does not head-match refname;
|
(2) ignore if pattern is provided and does not head-match refname;
|
||||||
|
Reference in New Issue
Block a user