]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1091-sparse-checkout-builtin.sh
Sync with 2.31.5
[thirdparty/git.git] / t / t1091-sparse-checkout-builtin.sh
index 38fc8340f5c9b7bfd2ede379545af809c2e9e636..ab7b6049983e4aa48b5ca425b35d48df89b17106 100755 (executable)
@@ -465,7 +465,8 @@ test_expect_success 'interaction with submodules' '
        (
                cd super &&
                mkdir modules &&
-               git submodule add ../repo modules/child &&
+               git -c protocol.file.allow=always \
+                       submodule add ../repo modules/child &&
                git add . &&
                git commit -m "add submodule" &&
                git sparse-checkout init --cone &&