Fix ansible-test-git test for newer git versions.

The latest versions of `git` include a fix for CVE-2022-39253. The fix blocks the file protocol by default.

See: 45c9f05c44/Documentation/RelNotes/2.30.6.txt
pull/79211/head
Matt Clay 2 years ago
parent da3a7618ba
commit 4202acb41b

@ -45,7 +45,7 @@ cd "${GIT_TOP_LEVEL}"
git init
# add submodule
git submodule add "${WORK_DIR}/sub" "${SUBMODULE_DST}"
git -c protocol.file.allow=always submodule add "${WORK_DIR}/sub" "${SUBMODULE_DST}"
# prepare for tests
expected="${WORK_DIR}/expected.txt"

Loading…
Cancel
Save