diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-09-30 23:47:00 +0300 |
---|---|---|
committer | Taylor Blau <me@ttaylorr.com> | 2022-10-01 07:30:43 +0300 |
commit | 092d3a2bf97abd6153313686bb2580e6421a1d34 (patch) | |
tree | 08d7b0a6d109054a0ecb255e2991dcd9ff1d695c /t | |
parent | 359da658ae32d9a7e5e93ac173fc221352b62917 (diff) |
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>
Diffstat (limited to 't')
-rwxr-xr-x | t/t1092-sparse-checkout-compatibility.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/t1092-sparse-checkout-compatibility.sh b/t/t1092-sparse-checkout-compatibility.sh index 4ba1617752..522c760ca8 100755 --- a/t/t1092-sparse-checkout-compatibility.sh +++ b/t/t1092-sparse-checkout-compatibility.sh @@ -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" && |