Merge branch 'rh/doc-glob-pathspec-fix'

Docfix.

* rh/doc-glob-pathspec-fix:
  doc: correct doc for glob pathspec
This commit is contained in:
Junio C Hamano
2025-07-21 09:14:27 -07:00

View File

@@ -418,9 +418,8 @@ full pathname may have special meaning:
- 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`".
- A trailing "`/**`" matches everything inside. For example,
"`abc/**`" matches all files inside directory "abc", relative