1
0
Fork 0
mirror of synced 2024-11-22 08:15:34 -05:00

Add workaround for test broken by Git security fix

The fix for this Git security issue [1] involved disabling the local
clone optimization when the repository contains symbolic links. The
security fix broke this particular test; this patch works around the
fix.

[1]: https://github.com/git/git/security/advisories/GHSA-3wp6-j8xr-qw85
This commit is contained in:
Anish Athalye 2022-11-17 10:23:43 -05:00
parent d2f76a2593
commit 1971ae9f51

View file

@ -2,6 +2,7 @@ test_description='install shim works'
. '../test-lib.bash' . '../test-lib.bash'
test_expect_success 'setup' ' test_expect_success 'setup' '
git config --global protocol.file.allow always
cd ${DOTFILES} cd ${DOTFILES}
git init git init
git submodule add ${BASEDIR} dotbot git submodule add ${BASEDIR} dotbot