Skip to content

Commit 2126074

Browse files
committed
Merge branch 'nd/glossary-content-pathspec-markup' into maint
* nd/glossary-content-pathspec-markup: glossary-content.txt: fix documentation of "**" patterns
2 parents c8394bb + 746be68 commit 2126074

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/glossary-content.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ full pathname may have special meaning:
362362

363363
- A leading "`**`" followed by a slash means match in all
364364
directories. For example, "`**/foo`" matches file or directory
365-
"`foo`" anywhere, the same as pattern "`foo`". "**/foo/bar"
365+
"`foo`" anywhere, the same as pattern "`foo`". "`**/foo/bar`"
366366
matches file or directory "`bar`" anywhere that is directly
367367
under directory "`foo`".
368368

369-
- A trailing "/**" matches everything inside. For example,
370-
"abc/**" matches all files inside directory "abc", relative
369+
- A trailing "`/**`" matches everything inside. For example,
370+
"`abc/**`" matches all files inside directory "abc", relative
371371
to the location of the `.gitignore` file, with infinite depth.
372372

373373
- A slash followed by two consecutive asterisks then a slash

0 commit comments

Comments
 (0)