fixup! pack-objects (mingw): demonstrate a segmentation fault with large deltas

We need to explicitly allow the `file://` protocol for our tests to
work, as a consequence of the fix for CVE-2022-39253.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2022-10-07 12:48:17 +02:00
parent 3541e902ac
commit b85c8f604d

View File

@@ -25,6 +25,7 @@ pwdlen=$(echo "$pwd" | wc -c)
longpath=$(echo $longpath180 | cut -c 1-$((170-$pwdlen)))
test_expect_success 'submodule with a long path' '
git config --global protocol.file.allow always &&
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= \
git -c init.defaultBranch=long init --bare remote &&
test_create_repo bundle1 &&