]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t1500-rev-parse.sh
Sync with 2.31.5
[thirdparty/git.git] / t / t1500-rev-parse.sh
index 1c2df08333bc600e4fc22f1f55c1d6950b876d67..2c429f9635cc2340307ba0ac82e0eed8808f7e85 100755 (executable)
@@ -225,7 +225,8 @@ test_expect_success 'showing the superproject correctly' '
        test_commit -C super test_commit &&
        test_create_repo sub &&
        test_commit -C sub test_commit &&
-       git -C super submodule add ../sub dir/sub &&
+       git -c protocol.file.allow=always \
+               -C super submodule add ../sub dir/sub &&
        echo $(pwd)/super >expect  &&
        git -C super/dir/sub rev-parse --show-superproject-working-tree >out &&
        test_cmp expect out &&