summaryrefslogtreecommitdiff
path: root/t/t7814-grep-recurse-submodules.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-09-30 16:47:00 -0400
committerTaylor Blau <me@ttaylorr.com>2022-10-01 00:31:40 -0400
commit8a7bfa0fd3af2d39be1a808774005c78575908d1 (patch)
tree54c9649850834422f866044e47ec92becfdff933 /t/t7814-grep-recurse-submodules.sh
parent59f2f80280860e9796661876b4a2cd673448898d (diff)
downloadgit-8a7bfa0fd3af2d39be1a808774005c78575908d1.tar.gz
t7814: prepare for changing protocol.file.allow
Explicitly cloning over the "file://" protocol in t7814 in preparation for merging a security release which will change the default value of this configuration to be "user". Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t7814-grep-recurse-submodules.sh')
-rwxr-xr-xt/t7814-grep-recurse-submodules.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t7814-grep-recurse-submodules.sh b/t/t7814-grep-recurse-submodules.sh
index a4476dc492..9a23a52ac1 100755
--- a/t/t7814-grep-recurse-submodules.sh
+++ b/t/t7814-grep-recurse-submodules.sh
@@ -546,6 +546,7 @@ test_expect_failure 'grep saves textconv cache in the appropriate repository' '
test_expect_success 'grep partially-cloned submodule' '
# Set up clean superproject and submodule for partial cloning.
+ test_config_global protocol.file.allow always &&
git init super &&
git init super/sub &&
(