From: Junio C Hamano <gitster@pobox.com>
To: Russell Hanneken <rhanneken@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/1] doc: correct doc for glob pathspec
Date: Mon, 07 Jul 2025 22:04:57 -0700 [thread overview]
Message-ID: <xmqqikk3xog6.fsf@gitster.g> (raw)
In-Reply-To: <20250708024507.62386-2-rhanneken@pobox.com> (Russell Hanneken's message of "Mon, 7 Jul 2025 22:45:07 -0400")
Russell Hanneken <rhanneken@pobox.com> writes:
> - A leading "`**`" followed by a slash means match in all
> directories. For example, "`**/foo`" matches file or directory
> - "`foo`" anywhere, the same as pattern "`foo`". "`**/foo/bar`"
> - matches file or directory "`bar`" anywhere that is directly
> - under directory "`foo`".
> + "`foo`" anywhere. "`**/foo/bar`" matches file or directory "`bar`"
> + anywhere that is directly under directory "`foo`".
So, the change is that the explanation that the pattern `foo` would
match the same as what `**/foo` matches, i.e. a file or directory
whose name is `foo`, either at the top-level or in any subdirectory.
Sounds correct.
Will queue. Thanks.
next prev parent reply other threads:[~2025-07-08 5:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-08 2:45 [PATCH 0/1] doc: correct doc for glob pathspec Russell Hanneken
2025-07-08 2:45 ` [PATCH 1/1] " Russell Hanneken
2025-07-08 5:04 ` Junio C Hamano [this message]
2025-07-10 23:39 ` Russell Hanneken
2025-07-21 13:08 ` Kristoffer Haugsbakk
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=xmqqikk3xog6.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=rhanneken@pobox.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.