]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t7814: 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:40 +0000 (00:31 -0400)
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>
t/t7814-grep-recurse-submodules.sh

index a4476dc492204297d3b91b3d3d79a7769f4d38b9..9a23a52ac149de21f0c29530a47ba80b0c29c321 100755 (executable)
@@ -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 &&
        (