diff options
Diffstat (limited to 'Documentation/git-show-ref.txt')
-rw-r--r-- | Documentation/git-show-ref.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index c1f03d4bd7..a78a7dcf7a 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -74,7 +74,7 @@ OPTIONS --exclude-existing:: --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 "^(?:<anything>\s)?<refname>(?:\^\{\})?$" and performs the following actions on each: (1) strip "^{}" at the end of line if any; @@ -137,7 +137,7 @@ When using the '--verify' flag, the command requires an exact path: will only match the exact branch called "master". -If nothing matches, linkgit:git-show-ref[1] will return an error code of 1, +If nothing matches, `git-show-ref` will return an error code of 1, and in the case of verification, it will show an error message. For scripting, you can ask it to be quiet with the "--quiet" flag, which |