gitignore.txt: use backticks instead of double quotes

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>
This commit is contained in:
Johan Ruokangas 2023-07-18 13:13:01 +00:00 committed by Junio C Hamano
parent fb7d80edca
commit 3437f549dd

View 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