gitignore.txt: fix documentation of "**" patterns
authorKarsten Blees <karsten.blees@gmail.com>
Thu, 7 Nov 2013 16:30:47 +0000 (17:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Nov 2013 18:49:52 +0000 (10:49 -0800)
"**" 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>
Documentation/gitignore.txt
index 54e334e3af1e790b132da5b6af761326d586ce8a..f9719605123003c97bdf2999f912712536fa927a 100644 (file)
@@ -113,12 +113,12 @@ 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"
+   "`foo`" anywhere, the same as pattern "`foo`". "`**/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
+ - A trailing "`/**`" matches everything inside. For example,
+   "`abc/**`" matches all files inside directory "`abc`", relative
    to the location of the `.gitignore` file, with infinite depth.
 
  - A slash followed by two consecutive asterisks then a slash