Am 8/5/2011 12:55, schrieb Jeff King:
+test_expect_success 'fast-export quotes pathnames' '
+ git init crazy-paths &&
+ (cd crazy-paths &&
+ >"$(printf "path with\\nnewline")" &&
+ >"path with \"quote\"" &&
+ >"path with \\backslash" &&
+ >"path with space" &&
Please construct the tree object using git-update-index's --cacheinfo or
--index-info rather than using actual files and git add so that the test
can pass on filesystems that do not allow newlines, quotes, or
backslashes(!) in filenames.
-- Hannes
--
"Atomic objects are neither active nor radioactive." --
Programming Languages -- C++, Final Committee Draft (Doc.N3092)