]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitignore.txt: use backticks instead of double quotes
authorJohan Ruokangas <johan@latehours.net>
Tue, 18 Jul 2023 13:13:01 +0000 (13:13 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 13:56:19 +0000 (06:56 -0700)
Among four examples, only this one used "double quoted" sample
patterns, but all others marked up the patterns in `monospace`.

Signed-off-by: Johan Ruokangas <johan@latehours.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitignore.txt

index 4c17f2356c40b2fce2c588db97c3abf4f7f262b0..810041acd17667955a5bad5dda6f0dca32006c87 100644 (file)
@@ -174,10 +174,10 @@ EXAMPLES
    is not relevant  if there is already a middle slash in
    the pattern.
 
- - The pattern "foo/*", matches "foo/test.json"
-   (a regular file), "foo/bar" (a directory), but it does not match
-   "foo/bar/hello.c" (a regular file), as the asterisk in the
-   pattern does not match "bar/hello.c" which has a slash in it.
+ - The pattern `foo/*`, matches `foo/test.json`
+   (a regular file), `foo/bar` (a directory), but it does not match
+   `foo/bar/hello.c` (a regular file), as the asterisk in the
+   pattern does not match `bar/hello.c` which has a slash in it.
 
 --------------------------------------------------------------
     $ git status