t5537: prepare for changing protocol.file.allow

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>
maint
Taylor Blau 2022-09-30 16:47:00 -04:00
parent c193e6bbee
commit 59f2f80280
1 changed files with 2 additions and 0 deletions

View File

@ -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 &&