]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t3207: prepare for changing protocol.file.allow
authorTaylor Blau <me@ttaylorr.com>
Fri, 30 Sep 2022 20:47:00 +0000 (16:47 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:31:31 +0000 (00:31 -0400)
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>
t/t3207-branch-submodule.sh

index cfde6b237f5dc40d79beca20c0f26cfd8f80e53c..fe72b247164e56fc9a7af134583e2b9f8cc9bbdc 100755 (executable)
@@ -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 &&