]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t1092: prepare for changing protocol.file.allow
authorTaylor Blau <me@ttaylorr.com>
Fri, 30 Sep 2022 20:47:00 +0000 (16:47 -0400)
committerTaylor Blau <me@ttaylorr.com>
Sat, 1 Oct 2022 04:30:43 +0000 (00:30 -0400)
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>
t/t1092-sparse-checkout-compatibility.sh

index 4ba16177528c920e816bdd1cf8db117ca5f6519e..522c760ca89518aa610fea041e89222b120d0a46 100755 (executable)
@@ -793,6 +793,8 @@ test_expect_success 'submodule handling' '
        test_all_match git add modules &&
        test_all_match git commit -m "add modules directory" &&
 
+       test_config_global protocol.file.allow always &&
+
        run_on_all git submodule add "$(pwd)/initial-repo" modules/sub &&
        test_all_match git commit -m "add submodule" &&