Skip to content

Commit b85c8f6

Browse files
committed
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 <[email protected]>
1 parent 3541e90 commit b85c8f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t7422-submodule-long-path.sh

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ pwdlen=$(echo "$pwd" | wc -c)
2525
longpath=$(echo $longpath180 | cut -c 1-$((170-$pwdlen)))
2626

2727
test_expect_success 'submodule with a long path' '
28+
git config --global protocol.file.allow always &&
2829
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= \
2930
git -c init.defaultBranch=long init --bare remote &&
3031
test_create_repo bundle1 &&

0 commit comments

Comments
 (0)