summaryrefslogtreecommitdiffstats
path: root/t/t7814-grep-recurse-submodules.sh
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-09-30 22:47:00 +0200
committerTaylor Blau <me@ttaylorr.com>2022-10-01 06:31:40 +0200
commit8a7bfa0fd3af2d39be1a808774005c78575908d1 (patch)
tree54c9649850834422f866044e47ec92becfdff933 /t/t7814-grep-recurse-submodules.sh
parentt5537: prepare for changing protocol.file.allow (diff)
downloadgit-8a7bfa0fd3af2d39be1a808774005c78575908d1.tar.xz
git-8a7bfa0fd3af2d39be1a808774005c78575908d1.zip
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 '')
-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 &&
(