summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorAndreas Heiduk <asheiduk@gmail.com>2017-03-02 20:03:52 +0100
committerJunio C Hamano <gitster@pobox.com>2017-03-02 11:40:51 -0800
commit860cd699c285f02937a2edbdb78e8231292339a5 (patch)
tree9864d172cd90185f4af9c7ffcd218f8f50cf4a0e /Documentation/git-commit.txt
parent3bc53220cb2dcf709f7a027a3f526befd021d858 (diff)
downloadgit-860cd699c285f02937a2edbdb78e8231292339a5.tar.gz
Documentation: improve description for core.quotePathah/doc-ls-files-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/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 4f8f20a360..25dcdcc289 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -117,9 +117,12 @@ OPTIONS
-z::
--null::
- When showing `short` or `porcelain` status output, terminate
- entries in the status output with NUL, instead of LF. If no
- format is given, implies the `--porcelain` output format.
+ When showing `short` or `porcelain` status output, print the
+ filename verbatim and terminate the entries with NUL, instead of LF.
+ If no format is given, implies the `--porcelain` output format.
+ Without the `-z` option, filenames with "unusual" characters are
+ quoted as explained for the configuration variable `core.quotePath`
+ (see linkgit:git-config[1]).
-F <file>::
--file=<file>::