summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2007-07-01 14:57:51 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-07-01 14:57:51 -0700
commit660d579d6ff0ac29b8f7b38b3da73f09214d39aa (patch)
treefe45154c34455a2774275e5e70bee0556f55200c /Documentation
parentFix t5516-fetch for systems where `wc -l` outputs whitespace. (diff)
parentAdd core.quotepath configuration variable. (diff)
downloadtgif-660d579d6ff0ac29b8f7b38b3da73f09214d39aa.tar.xz
Merge branch 'jc/quote'
* jc/quote: Add core.quotepath configuration variable.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 3dc17a6d78..50503e84b9 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -117,6 +117,18 @@ core.fileMode::
the working copy are ignored; useful on broken filesystems like FAT.
See gitlink:git-update-index[1]. True by default.
+core.quotepath::
+ The commands that output paths (e.g. `ls-files`,
+ `diff`), when not given the `-z` option, will quote
+ "unusual" characters in the pathname by enclosing the
+ pathname in a double-quote pair and with backslashes the
+ same way strings in C source code are quoted. If this
+ variable is set to false, the bytes higher than 0x80 are
+ not quoted but output as verbatim. Note that double
+ quote, backslash and control characters are always
+ quoted without `-z` regardless of the setting of this
+ variable.
+
core.autocrlf::
If true, makes git convert `CRLF` at the end of lines in text files to
`LF` when reading from the filesystem, and convert in reverse when