Skip to content

Commit 092d3a2

Browse files
committed
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 <[email protected]>
1 parent 359da65 commit 092d3a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

t/t1092-sparse-checkout-compatibility.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,8 @@ test_expect_success 'submodule handling' '
793793
test_all_match git add modules &&
794794
test_all_match git commit -m "add modules directory" &&
795795
796+
test_config_global protocol.file.allow always &&
797+
796798
run_on_all git submodule add "$(pwd)/initial-repo" modules/sub &&
797799
test_all_match git commit -m "add submodule" &&
798800

0 commit comments

Comments
 (0)