summaryrefslogtreecommitdiffstats
path: root/git-diff-files.html
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-diff-files.html
parent53eec4d7df316d46d4de248964486ecfbcda0c99 (diff)
downloadgit-htmldocs-0f6f3bff0a28c6c521a411bc97083cac5b7f953d.tar.gz
Autogenerated HTML docs for v2.12.0-264-gd6db3
Diffstat (limited to 'git-diff-files.html')
-rw-r--r--git-diff-files.html21
1 files changed, 10 insertions, 11 deletions
diff --git a/git-diff-files.html b/git-diff-files.html
index b11346141..0abd6ceaf 100644
--- a/git-diff-files.html
+++ b/git-diff-files.html
@@ -1059,10 +1059,9 @@ and accumulating child directory counts in the parent directories:
When <code>--raw</code>, <code>--numstat</code>, <code>--name-only</code> or <code>--name-status</code> has been
given, do not munge pathnames and use NULs as output field terminators.
</p>
-<div class="paragraph"><p>Without this option, each pathname output will have TAB, LF, double quotes,
-and backslash characters replaced with <code>\t</code>, <code>\n</code>, <code>\"</code>, and <code>\\</code>,
-respectively, and the pathname will be enclosed in double quotes if
-any of those replacements occurred.</p></div>
+<div class="paragraph"><p>Without this option, pathnames with "unusual" characters are quoted as
+explained for the configuration variable <code>core.quotePath</code> (see
+<a href="git-config.html">git-config(1)</a>).</p></div>
</dd>
<dt class="hdlist1">
--name-only
@@ -1962,9 +1961,10 @@ and it is out of sync with the index.</p></div>
<div class="content">
<pre><code>:100644 100644 5be4a4...... 000000...... M file.c</code></pre>
</div></div>
-<div class="paragraph"><p>When <code>-z</code> option is not used, TAB, LF, and backslash characters
-in pathnames are represented as <code>\t</code>, <code>\n</code>, and <code>\\</code>,
-respectively.</p></div>
+<div class="paragraph"><p>Without the <code>-z</code> option, pathnames with "unusual" characters are
+quoted as explained for the configuration variable <code>core.quotePath</code>
+(see <a href="git-config.html">git-config(1)</a>). Using <code>-z</code> the filename is output
+verbatim and the line is terminated by a NUL byte.</p></div>
</div>
</div>
<div class="sect1">
@@ -2070,10 +2070,9 @@ separate lines indicate the old and the new mode.</p></div>
</li>
<li>
<p>
-TAB, LF, double quote and backslash characters in pathnames
- are represented as <code>\t</code>, <code>\n</code>, <code>\"</code> and <code>\\</code>, respectively.
- If there is need for such substitution then the whole
- pathname is put in double quotes.
+Pathnames with "unusual" characters are quoted as explained for
+ the configuration variable <code>core.quotePath</code> (see
+ <a href="git-config.html">git-config(1)</a>).
</p>
</li>
<li>