mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-27 07:26:22 -05:00
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:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user