summaryrefslogtreecommitdiffstats
path: root/git-fast-import.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-11-29 14:51:20 -0800
committerJunio C Hamano <gitster@pobox.com>2012-11-29 14:51:20 -0800
commitbccb0db855bb4db465fb23dca31962dee04a7cc5 (patch)
tree5d789796685b7328c75400324b5e279ca8202732 /git-fast-import.html
parent3cd7ca3ec317055c48ccf2c379862b17f7c81838 (diff)
downloadgit-htmldocs-bccb0db855bb4db465fb23dca31962dee04a7cc5.tar.gz
Autogenerated HTML docs for v1.8.0.1-347-gf94c3
Diffstat (limited to 'git-fast-import.html')
-rw-r--r--git-fast-import.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/git-fast-import.html b/git-fast-import.html
index 6e9791e83..359150eb1 100644
--- a/git-fast-import.html
+++ b/git-fast-import.html
@@ -1286,8 +1286,12 @@ in octal. Git only supports the following modes:</p></div>
<div class="paragraph"><p>A <tt>&lt;path&gt;</tt> string must use UNIX-style directory separators (forward
slash <tt>/</tt>), may contain any byte other than <tt>LF</tt>, and must not
start with double quote (<tt>"</tt>).</p></div>
-<div class="paragraph"><p>If an <tt>LF</tt> or double quote must be encoded into <tt>&lt;path&gt;</tt> shell-style
-quoting should be used, e.g. <tt>"path/with\n and \" in it"</tt>.</p></div>
+<div class="paragraph"><p>A path can use C-style string quoting; this is accepted in all cases
+and mandatory if the filename starts with double quote or contains
+<tt>LF</tt>. In C-style quoting, the complete name should be surrounded with
+double quotes, and any <tt>LF</tt>, backslash, or double quote characters
+must be escaped by preceding them with a backslash (e.g.,
+<tt>"path/with\n, \\ and \" in it"</tt>).</p></div>
<div class="paragraph"><p>The value of <tt>&lt;path&gt;</tt> must be in canonical form. That is it must not:</p></div>
<div class="ulist"><ul>
<li>
@@ -2175,7 +2179,7 @@ compression.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2012-11-21 13:58:35 PDT
+Last updated 2012-11-29 14:50:58 PDT
</div>
</div>
</body>