diff options
author | Andreas Heiduk <asheiduk@gmail.com> | 2017-03-02 20:03:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-02 11:40:51 -0800 |
commit | 860cd699c285f02937a2edbdb78e8231292339a5 (patch) | |
tree | 9864d172cd90185f4af9c7ffcd218f8f50cf4a0e /Documentation/diff-generate-patch.txt | |
parent | 3bc53220cb2dcf709f7a027a3f526befd021d858 (diff) | |
download | git-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/diff-generate-patch.txt')
-rw-r--r-- | Documentation/diff-generate-patch.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/diff-generate-patch.txt b/Documentation/diff-generate-patch.txt index d2a7ff56e8..231105cff4 100644 --- a/Documentation/diff-generate-patch.txt +++ b/Documentation/diff-generate-patch.txt @@ -53,10 +53,9 @@ The index line includes the SHA-1 checksum before and after the change. The <mode> is included if the file mode does not change; otherwise, separate lines indicate the old and the new mode. -3. TAB, LF, double quote and backslash characters in pathnames - are represented as `\t`, `\n`, `\"` and `\\`, respectively. - If there is need for such substitution then the whole - pathname is put in double quotes. +3. Pathnames with "unusual" characters are quoted as explained for + the configuration variable `core.quotePath` (see + linkgit:git-config[1]). 4. All the `file1` files in the output refer to files before the commit, and all the `file2` files refer to files after the commit. |