Code

contrib/completion: "local var=()" is misinterpreted as func-decl by zsh
[git.git] / 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;