Code

git-show-ref doc: typeset regexp in fixed width font
authorMichael Haggerty <mhagger@alum.mit.edu>
Fri, 13 Jan 2012 16:39:16 +0000 (17:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Jan 2012 17:50:45 +0000 (09:50 -0800)
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-show-ref.txt

index 8dfcbe3fd453bfcb5976af32f33912a9e4e28b8f..fcee0008a9d868bb27c9eacbcfe72a3a3f8ed60f 100644 (file)
@@ -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;