summaryrefslogtreecommitdiffstats
path: root/t/t3207-branch-submodule.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:31 +0200
commite175fb5767f90291d7156960f4a33d726175fff2 (patch)
tree7c613f0f297a93947574446fc764417cfddf3bfa /t/t3207-branch-submodule.sh
parentGit 2.36.2 (diff)
downloadgit-e175fb5767f90291d7156960f4a33d726175fff2.tar.xz
git-e175fb5767f90291d7156960f4a33d726175fff2.zip
t3207: prepare for changing protocol.file.allow
Explicitly cloning over the "file://" protocol in t3207 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/t3207-branch-submodule.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t3207-branch-submodule.sh b/t/t3207-branch-submodule.sh
index cfde6b237f..fe72b24716 100755
--- a/t/t3207-branch-submodule.sh
+++ b/t/t3207-branch-submodule.sh
@@ -28,6 +28,7 @@ test_no_branch () {
}
test_expect_success 'setup superproject and submodule' '
+ git config --global protocol.file.allow always &&
mkdir test_dirs &&
(
cd test_dirs &&