summaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorAndreas Heiduk <asheiduk@gmail.com>2017-03-02 19:03:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-02 19:40:51 (GMT)
commit860cd699c285f02937a2edbdb78e8231292339a5 (patch)
tree9864d172cd90185f4af9c7ffcd218f8f50cf4a0e /Documentation/diff-options.txt
parent3bc53220cb2dcf709f7a027a3f526befd021d858 (diff)
downloadgit-860cd699c285f02937a2edbdb78e8231292339a5.zip
git-860cd699c285f02937a2edbdb78e8231292339a5.tar.gz
git-860cd699c285f02937a2edbdb78e8231292339a5.tar.bz2
Documentation: improve description for core.quotePath
Linking the description for pathname quoting to the configuration variable "core.quotePath" removes inconstistent and incomplete sections while also giving two hints how to deal with it: Either with "-c core.quotePath=false" or with "-z". Signed-off-by: Andreas Heiduk <asheiduk@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r--Documentation/diff-options.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index d91ddbd..89cc0f4 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -192,10 +192,9 @@ ifndef::git-log[]
given, do not munge pathnames and use NULs as output field terminators.
endif::git-log[]
+
-Without this option, each pathname output will have TAB, LF, double quotes,
-and backslash characters replaced with `\t`, `\n`, `\"`, and `\\`,
-respectively, and the pathname will be enclosed in double quotes if
-any of those replacements occurred.
+Without this option, pathnames with "unusual" characters are quoted as
+explained for the configuration variable `core.quotePath` (see
+linkgit:git-config[1]).
--name-only::
Show only names of changed files.