]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitignore.txt: mark up explanation of patterns consistently
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 17:47:39 +0000 (10:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 19:19:08 +0000 (12:19 -0700)
In the "PATTERN FORMAT" section, all the other pattern elements are
shown as `monospace` literals inside "double quoted" strings.  Do
the same for the explanation of a slash to make it consistent.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt

index 4c17f2356c40b2fce2c588db97c3abf4f7f262b0..bf2d823c945d1d3fb59ce417e578ec99b7a5a353 100644 (file)
@@ -88,7 +88,7 @@ PATTERN FORMAT
    Put a backslash ("`\`") in front of the first "`!`" for patterns
    that begin with a literal "`!`", for example, "`\!important!.txt`".
 
- - The slash '/' is used as the directory separator. Separators may
+ - The slash "`/`" is used as the directory separator. Separators may
    occur at the beginning, middle or end of the `.gitignore` search pattern.
 
  - If there is a separator at the beginning or middle (or both) of the