Skip to content

Commit

Permalink
git-show-ref.txt: clarify the pattern matching
Browse files Browse the repository at this point in the history
git-show-ref really does not do what one would expect under the name
pattern matching, so describe it.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Michael J Gruber authored and Junio C Hamano committed Oct 19, 2010
1 parent 9373bdc commit 9fbd898
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/git-show-ref.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ OPTIONS

<pattern>...::

Show references matching one or more patterns.
Show references matching one or more patterns. Patterns are matched from
the end of the full name, and only complete parts are matched, e.g.
'master' matches 'refs/heads/master', 'refs/remotes/origin/master',
'refs/tags/jedi/master' but not 'refs/heads/mymaster' nor
'refs/remotes/master/jedi'.

OUTPUT
------
Expand Down

0 comments on commit 9fbd898

Please sign in to comment.