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>

Taylor Blau committed Sep 30, 2022 at 16:47 UTC 541607d9348307ac4bc4245a913672eacc4f6e61
1 file changed +1 -1
t/t3206-range-diff.sh
+1 -1
@@ -782,7 +782,7 @@ test_expect_success 'submodule changes are shown irrespective of diff.submodule'
782 sub_oid3=$(git -C sub-repo rev-parse HEAD) &&
783
784 git checkout -b main-sub topic &&
785 - git submodule add ./sub-repo sub &&
785 + git -c protocol.file.allow=always submodule add ./sub-repo sub &&
786 git -C sub checkout --detach sub-first &&
787 git commit -m "add sub" sub &&
788 sup_oid1=$(git rev-parse --short HEAD) &&