t1092: prepare for changing protocol.file.allow

Explicitly cloning over the "file://" protocol in t1092 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 4a7dab5ce429c4a2badbfd49e1f794c1229b20e4
1 file changed +2
t/t1092-sparse-checkout-compatibility.sh
+2
@@ -390,6 +390,8 @@ test_expect_success 'submodule handling' '
390 test_all_match git add modules &&
391 test_all_match git commit -m "add modules directory" &&
392
393 + test_config_global protocol.file.allow always &&
394 +
395 run_on_all git submodule add "$(pwd)/initial-repo" modules/sub &&
396 test_all_match git commit -m "add submodule" &&
397