aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-02-17 16:25:05 -0800
committerJunio C Hamano <gitster@pobox.com>2022-02-17 16:25:05 -0800
commita4ec3478888f04e4a2a8f5673ccddc89b690caa1 (patch)
tree8b8fd5c17fff06099134a7c393068193522cfcab
parentff6f1695a3fe9fa9cfcac428f8ab37a97a3b16e1 (diff)
parent9325285df4988a35ab376947cc3599aeec0a24b6 (diff)
downloadgit-a4ec3478888f04e4a2a8f5673ccddc89b690caa1.tar.xz
Merge branch 'po/doc-check-ignore-markup-fix'
Typofix. * po/doc-check-ignore-markup-fix: doc: check-ignore: code-quote an exclamation mark
-rw-r--r--Documentation/git-check-ignore.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-check-ignore.txt b/Documentation/git-check-ignore.txt
index 0c3924a63d..2892799e32 100644
--- a/Documentation/git-check-ignore.txt
+++ b/Documentation/git-check-ignore.txt
@@ -33,7 +33,7 @@ OPTIONS
Instead of printing the paths that are excluded, for each path
that matches an exclude pattern, print the exclude pattern
together with the path. (Matching an exclude pattern usually
- means the path is excluded, but if the pattern begins with '!'
+ means the path is excluded, but if the pattern begins with "`!`"
then it is a negated pattern and matching it means the path is
NOT excluded.)
+
@@ -77,7 +77,7 @@ If `--verbose` is specified, the output is a series of lines of the form:
<pathname> is the path of a file being queried, <pattern> is the
matching pattern, <source> is the pattern's source file, and <linenum>
is the line number of the pattern within that source. If the pattern
-contained a `!` prefix or `/` suffix, it will be preserved in the
+contained a "`!`" prefix or "`/`" suffix, it will be preserved in the
output. <source> will be an absolute path when referring to the file
configured by `core.excludesFile`, or relative to the repository root
when referring to `.git/info/exclude` or a per-directory exclude file.