From: Junio C Hamano Date: Fri, 29 Aug 2008 05:04:46 GMT Subject: Re: [PATCH/RFC] Clarified how pattern works in documentation to git-show-ref. Message-ID: <7vtzd48l8x.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1219955836-10070-1-git-send-email-gdolley@arpnetworks.com> Garry Dolley writes: > Several people in #git, including myself, thought that the following would > show all refs: > > git show-ref '*' > > Since that is not how the pattern patching works, clarification was needed > in the documentation. > > Signed-off-by: Garry Dolley > --- > > I think including a little more info in the docs regarding the pattern would > be helpful. Comments? Would be helpful. It may be worthwhile to know that that "pathspec" limiting done by revision traversal ("git log", "git rev-list") and diff is also without globbing, but it is a head-match, and match is forced at '/' boundary. ls-files and grep know how to glob, on the other hand.