]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t5537: 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:36 +0000 (00:31 -0400)
Explicitly cloning over the "file://" protocol in t5537 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/t5537-fetch-shallow.sh

index 92948de7a0083be93284de46dfb90c75cd0e1e2b..9573a2655efb9d87e96bc69145d1676a619944dd 100755 (executable)
@@ -162,6 +162,8 @@ test_expect_success 'fetch --update-shallow' '
 '
 
 test_expect_success 'fetch --update-shallow into a repo with submodules' '
+       test_config_global protocol.file.allow always &&
+
        git init a-submodule &&
        test_commit -C a-submodule foo &&
        git init repo-with-sub &&