summaryrefslogtreecommitdiffstats
path: root/t/t1091-sparse-checkout-builtin.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-10-18 00:46:09 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-18 00:46:09 +0200
commit9c32cfb49c60fa8173b9666db02efe3b45a8522f (patch)
tree0f74dce4f7278f25cd61bd87baeb400f127ac1b1 /t/t1091-sparse-checkout-builtin.sh
parentThe third batch (diff)
parentGit 2.38.1 (diff)
downloadgit-9c32cfb49c60fa8173b9666db02efe3b45a8522f.tar.xz
git-9c32cfb49c60fa8173b9666db02efe3b45a8522f.zip
Sync with v2.38.1
Diffstat (limited to 't/t1091-sparse-checkout-builtin.sh')
-rwxr-xr-xt/t1091-sparse-checkout-builtin.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t1091-sparse-checkout-builtin.sh b/t/t1091-sparse-checkout-builtin.sh
index de1ec89007..b563d6c263 100755
--- a/t/t1091-sparse-checkout-builtin.sh
+++ b/t/t1091-sparse-checkout-builtin.sh
@@ -560,7 +560,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 &&