summaryrefslogtreecommitdiffstats
path: root/git-fast-import.txt
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.txt
parent3cd7ca3ec317055c48ccf2c379862b17f7c81838 (diff)
downloadgit-htmldocs-bccb0db855bb4db465fb23dca31962dee04a7cc5.tar.gz
Autogenerated HTML docs for v1.8.0.1-347-gf94c3
Diffstat (limited to 'git-fast-import.txt')
-rw-r--r--git-fast-import.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/git-fast-import.txt b/git-fast-import.txt
index 959e4d3ae..d1844ead4 100644
--- a/git-fast-import.txt
+++ b/git-fast-import.txt
@@ -562,8 +562,12 @@ A `<path>` string must use UNIX-style directory separators (forward
slash `/`), may contain any byte other than `LF`, and must not
start with double quote (`"`).
-If an `LF` or double quote must be encoded into `<path>` shell-style
-quoting should be used, e.g. `"path/with\n and \" in it"`.
+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
+`LF`. In C-style quoting, the complete name should be surrounded with
+double quotes, and any `LF`, backslash, or double quote characters
+must be escaped by preceding them with a backslash (e.g.,
+`"path/with\n, \\ and \" in it"`).
The value of `<path>` must be in canonical form. That is it must not: