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>
This commit is contained in:
parent
d619cfc749
commit
8447dc8904
@ -113,12 +113,12 @@ full pathname may have special meaning:
|
|||||||
|
|
||||||
- A leading "`**`" followed by a slash means match in all
|
- A leading "`**`" followed by a slash means match in all
|
||||||
directories. For example, "`**/foo`" matches file or directory
|
directories. For example, "`**/foo`" matches file or directory
|
||||||
"`foo`" anywhere, the same as pattern "`foo`". "**/foo/bar"
|
"`foo`" anywhere, the same as pattern "`foo`". "`**/foo/bar`"
|
||||||
matches file or directory "`bar`" anywhere that is directly
|
matches file or directory "`bar`" anywhere that is directly
|
||||||
under directory "`foo`".
|
under directory "`foo`".
|
||||||
|
|
||||||
- A trailing "/**" matches everything inside. For example,
|
- A trailing "`/**`" matches everything inside. For example,
|
||||||
"abc/**" matches all files inside directory "abc", relative
|
"`abc/**`" matches all files inside directory "`abc`", relative
|
||||||
to the location of the `.gitignore` file, with infinite depth.
|
to the location of the `.gitignore` file, with infinite depth.
|
||||||
|
|
||||||
- A slash followed by two consecutive asterisks then a slash
|
- A slash followed by two consecutive asterisks then a slash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user