Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-07 00:44:44 +0300
committerTaylor Blau <me@ttaylorr.com>2022-10-07 00:44:44 +0300
commit58612f82b660e3378c73f0698d11b0f1fef741da (patch)
treea5b2b30e15db36ab7df7eb02785f3badd6c69f12 /t/t2400-worktree-add.sh
parent8a7bfa0fd3af2d39be1a808774005c78575908d1 (diff)
parent868154bb1c08a547afaf74ed8bafdf9bf55d1fd5 (diff)
Sync with 2.35.5
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t2400-worktree-add.sh')
-rwxr-xr-xt/t2400-worktree-add.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t2400-worktree-add.sh b/t/t2400-worktree-add.sh
index 2f564d533d..bce01ee5bf 100755
--- a/t/t2400-worktree-add.sh
+++ b/t/t2400-worktree-add.sh
@@ -665,6 +665,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 &&
@@ -680,6 +681,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
'