]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t2400-worktree-add.sh
Sync with 2.32.4
[thirdparty/git.git] / t / t2400-worktree-add.sh
index 37ad79470fb9e009e99447b04cc05673314e49e3..54b0eb6dce5a866c3939b93e88837be2b025c93f 100755 (executable)
@@ -614,6 +614,7 @@ test_expect_success '"add" should not fail because of another bad worktree' '
 '
 
 test_expect_success '"add" with uninitialized submodule, with submodule.recurse unset' '
+       test_config_global protocol.file.allow always &&
        test_create_repo submodule &&
        test_commit -C submodule first &&
        test_create_repo project &&
@@ -629,6 +630,7 @@ test_expect_success '"add" with uninitialized submodule, with submodule.recurse
 '
 
 test_expect_success '"add" with initialized submodule, with submodule.recurse unset' '
+       test_config_global protocol.file.allow always &&
        git -C project-clone submodule update --init &&
        git -C project-clone worktree add ../project-4
 '