From: Junio C Hamano Date: Tue, 08 Jul 2025 05:04:57 GMT Subject: Re: [PATCH 1/1] doc: correct doc for glob pathspec Message-ID: In-Reply-To: <20250708024507.62386-2-rhanneken@pobox.com> Russell Hanneken 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.