From: Junio C Hamano <gitster@pobox.com>
To: Garry Dolley <gdolley@arpnetworks.com>
Cc: git@vger.kernel.org, Garry Dolley <gdolley@ucla.edu>
Subject: Re: [PATCH/RFC] Clarified how pattern works in documentation to git-show-ref.
Date: Thu, 28 Aug 2008 22:04:46 -0700 [thread overview]
Message-ID: <7vtzd48l8x.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <1219955836-10070-1-git-send-email-gdolley@arpnetworks.com> (Garry Dolley's message of "Thu, 28 Aug 2008 13:37:16 -0700")
Garry Dolley <gdolley@arpnetworks.com> 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 <gdolley@ucla.edu>
> ---
>
> 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.
prev parent reply other threads:[~2008-08-29 5:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 20:37 [PATCH/RFC] Clarified how pattern works in documentation to git-show-ref Garry Dolley
2008-08-29 5:04 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vtzd48l8x.fsf@gitster.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=gdolley@arpnetworks.com \
--cc=gdolley@ucla.edu \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).