gitignore.txt: fix documentation of "**" patterns
"**" means bold in ASCIIDOC, so we need to escape it. Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Karsten Blees committed
Nov 7, 2013 at 17:30 UTC
8447dc890488a953ab190e8826bc9dd175b28df9
1 file changed
+3
-3
Documentation/gitignore.txt
+3
-3
@@ -113,12 +113,12 @@ full pathname may have special meaning:
113
114
- A leading "`**`" followed by a slash means match in all
115
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`"
117
matches file or directory "`bar`" anywhere that is directly
118
under directory "`foo`".
119
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
122
to the location of the `.gitignore` file, with infinite depth.
123
124
- A slash followed by two consecutive asterisks then a slash