summaryrefslogtreecommitdiffstats
path: root/git-ls-files.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-13 00:01:53 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-13 00:01:53 -0700
commit0f6f3bff0a28c6c521a411bc97083cac5b7f953d (patch)
tree4b266281dbd4d8cec2b7bc5b10fd6d8ae968e274 /git-ls-files.txt
parent53eec4d7df316d46d4de248964486ecfbcda0c99 (diff)
downloadgit-htmldocs-0f6f3bff0a28c6c521a411bc97083cac5b7f953d.tar.gz
Autogenerated HTML docs for v2.12.0-264-gd6db3
Diffstat (limited to 'git-ls-files.txt')
-rw-r--r--git-ls-files.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/git-ls-files.txt b/git-ls-files.txt
index 446209e20..1cab703f7 100644
--- a/git-ls-files.txt
+++ b/git-ls-files.txt
@@ -77,7 +77,8 @@ OPTIONS
succeed.
-z::
- \0 line termination on output.
+ \0 line termination on output and do not quote filenames.
+ See OUTPUT below for more information.
-x <pattern>::
--exclude=<pattern>::
@@ -196,9 +197,10 @@ the index records up to three such pairs; one from tree O in stage
the user (or the porcelain) to see what should eventually be recorded at the
path. (see linkgit:git-read-tree[1] for more information on state)
-When `-z` option is not used, TAB, LF, and backslash characters
-in pathnames are represented as `\t`, `\n`, and `\\`,
-respectively.
+Without the `-z` option, pathnames with "unusual" characters are
+quoted as explained for the configuration variable `core.quotePath`
+(see linkgit:git-config[1]). Using `-z` the filename is output
+verbatim and the line is terminated by a NUL byte.
Exclude Patterns