Skip to content

Commit 8447dc8

Browse files
kbleesgitster
authored andcommitted
gitignore.txt: fix documentation of "**" patterns
"**" means bold in ASCIIDOC, so we need to escape it. Signed-off-by: Karsten Blees <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d619cfc commit 8447dc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/gitignore.txt

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

114114
- A leading "`**`" followed by a slash means match in all
115115
directories. For example, "`**/foo`" matches file or directory
116-
"`foo`" anywhere, the same as pattern "`foo`". "**/foo/bar"
116+
"`foo`" anywhere, the same as pattern "`foo`". "`**/foo/bar`"
117117
matches file or directory "`bar`" anywhere that is directly
118118
under directory "`foo`".
119119

120-
- A trailing "/**" matches everything inside. For example,
121-
"abc/**" matches all files inside directory "abc", relative
120+
- A trailing "`/**`" matches everything inside. For example,
121+
"`abc/**`" matches all files inside directory "`abc`", relative
122122
to the location of the `.gitignore` file, with infinite depth.
123123

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

0 commit comments

Comments
 (0)