doc: check-ignore: code-quote an exclamation mark

The plain quoted exclamation mark renders as italics in the Windows pdf help manual. Fix this with back-tick quoting and surrounding double quotes as exemplified by the gitignore.txt guide. While at it, fix the surrounding double quotes for the other special characters usages. Signed-off-by: Philip Oakley <philipoakley@iee.email> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Philip Oakley committed Feb 3, 2022 at 10:16 UTC 9325285df4988a35ab376947cc3599aeec0a24b6
1 file changed +2 -2
Documentation/git-check-ignore.txt
+2 -2
@@ -33,7 +33,7 @@ OPTIONS
33 Instead of printing the paths that are excluded, for each path
34 that matches an exclude pattern, print the exclude pattern
35 together with the path. (Matching an exclude pattern usually
36 - means the path is excluded, but if the pattern begins with '!'
36 + means the path is excluded, but if the pattern begins with "`!`"
37 then it is a negated pattern and matching it means the path is
38 NOT excluded.)
39 +
@@ -77,7 +77,7 @@ If `--verbose` is specified, the output is a series of lines of the form:
77 <pathname> is the path of a file being queried, <pattern> is the
78 matching pattern, <source> is the pattern's source file, and <linenum>
79 is the line number of the pattern within that source. If the pattern
80 -contained a `!` prefix or `/` suffix, it will be preserved in the
80 +contained a "`!`" prefix or "`/`" suffix, it will be preserved in the
81 output. <source> will be an absolute path when referring to the file
82 configured by `core.excludesFile`, or relative to the repository root
83 when referring to `.git/info/exclude` or a per-directory exclude file.