t3206: prepare for changing protocol.file.allow

Explicitly cloning over the "file://" protocol in t3206 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 a0feb8611d
commit 541607d934
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ test_expect_success 'submodule changes are shown irrespective of diff.submodule'
sub_oid3=$(git -C sub-repo rev-parse HEAD) &&

git checkout -b main-sub topic &&
git submodule add ./sub-repo sub &&
git -c protocol.file.allow=always submodule add ./sub-repo sub &&
git -C sub checkout --detach sub-first &&
git commit -m "add sub" sub &&
sup_oid1=$(git rev-parse --short HEAD) &&