summaryrefslogtreecommitdiffstats
path: root/t/t7418-submodule-sparse-gitmodules.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-07 02:00:04 +0200
committerTaylor Blau <me@ttaylorr.com>2022-10-07 02:00:04 +0200
commitf64d4ca8d65bdca39da444d24bde94864ac01bb1 (patch)
treeedc9055c3dc8e378474c951ad6a3513deaa777d0 /t/t7418-submodule-sparse-gitmodules.sh
parentGit 2.38 (diff)
parentGit 2.37.4 (diff)
downloadgit-f64d4ca8d65bdca39da444d24bde94864ac01bb1.tar.xz
git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.zip
Sync with 2.37.4
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t7418-submodule-sparse-gitmodules.sh')
-rwxr-xr-xt/t7418-submodule-sparse-gitmodules.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7418-submodule-sparse-gitmodules.sh b/t/t7418-submodule-sparse-gitmodules.sh
index 57d7ab3ece..d5874200fd 100755
--- a/t/t7418-submodule-sparse-gitmodules.sh
+++ b/t/t7418-submodule-sparse-gitmodules.sh
@@ -17,6 +17,10 @@ export GIT_TEST_FATAL_REGISTER_SUBMODULE_ODB
. ./test-lib.sh
+test_expect_success 'setup' '
+ git config --global protocol.file.allow always
+'
+
test_expect_success 'sparse checkout setup which hides .gitmodules' '
git init upstream &&
git init submodule &&