]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9350-fast-export.sh
t6130/t9350: prepare for stringent Win32 path validation
[thirdparty/git.git] / t / t9350-fast-export.sh
index e6062071e6cb2b8a780f9e596a0bab3cfac2b1ab..15b167d29d9acff7d48070d6f73e62099b63106d 100755 (executable)
@@ -424,7 +424,7 @@ test_expect_success 'fast-export quotes pathnames' '
        test_config -C crazy-paths core.protectNTFS false &&
        (cd crazy-paths &&
         blob=$(echo foo | git hash-object -w --stdin) &&
-        git update-index --add \
+        git -c core.protectNTFS=false update-index --add \
                --cacheinfo 100644 $blob "$(printf "path with\\nnewline")" \
                --cacheinfo 100644 $blob "path with \"quote\"" \
                --cacheinfo 100644 $blob "path with \\backslash" \