t7814: prepare for changing protocol.file.allow

Explicitly cloning over the "file://" protocol in t7814 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 8a7bfa0fd3af2d39be1a808774005c78575908d1
1 file changed +1
t/t7814-grep-recurse-submodules.sh
+1
index a4476dc492..9a23a52ac1 100755 --- a/t/t7814-grep-recurse-submodules.sh +++ b/t/t7814-grep-recurse-submodules.sh @@ -546,6 +546,7 @@ test_expect_failure 'grep saves textconv cache in the appropriate repository' ' test_expect_success 'grep partially-cloned submodule' ' # Set up clean superproject and submodule for partial cloning. + test_config_global protocol.file.allow always && git init super && git init super/sub && (