diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-11-29 14:51:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-29 14:51:20 -0800 |
commit | bccb0db855bb4db465fb23dca31962dee04a7cc5 (patch) | |
tree | 5d789796685b7328c75400324b5e279ca8202732 /git-fast-import.txt | |
parent | 3cd7ca3ec317055c48ccf2c379862b17f7c81838 (diff) | |
download | git-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.txt | 8 |
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: |