From: Michael J Gruber Date: Mon, 18 Oct 2010 11:33:32 +0000 (+0200) Subject: git-show-ref.txt: clarify the pattern matching X-Git-Tag: v1.7.3.2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9fbd8986bb475befb27e0597c2ce0a7ce015334c;p=git.git git-show-ref.txt: clarify the pattern matching 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-show-ref.txt b/Documentation/git-show-ref.txt index 4696af743..be0ec189a 100644 --- a/Documentation/git-show-ref.txt +++ b/Documentation/git-show-ref.txt @@ -84,7 +84,11 @@ OPTIONS ...:: - 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 ------