diff options
| author | Taylor Blau <me@ttaylorr.com> | 2022-10-06 20:00:04 -0400 |
|---|---|---|
| committer | Taylor Blau <me@ttaylorr.com> | 2022-10-06 20:00:04 -0400 |
| commit | f64d4ca8d65bdca39da444d24bde94864ac01bb1 (patch) | |
| tree | edc9055c3dc8e378474c951ad6a3513deaa777d0 /t/t7416-submodule-dash-url.sh | |
| parent | Git 2.38 (diff) | |
| parent | Git 2.37.4 (diff) | |
| download | git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.tar.gz git-f64d4ca8d65bdca39da444d24bde94864ac01bb1.zip | |
Sync with 2.37.4
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 't/t7416-submodule-dash-url.sh')
| -rwxr-xr-x | t/t7416-submodule-dash-url.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7416-submodule-dash-url.sh b/t/t7416-submodule-dash-url.sh index d21dc8b009..3ebd985981 100755 --- a/t/t7416-submodule-dash-url.sh +++ b/t/t7416-submodule-dash-url.sh @@ -3,6 +3,10 @@ test_description='check handling of disallowed .gitmodule urls' . ./test-lib.sh +test_expect_success 'setup' ' + git config --global protocol.file.allow always +' + test_expect_success 'create submodule with protected dash in url' ' git init upstream && git -C upstream commit --allow-empty -m base && |
