common/travis/fetch_upstream.sh: fix CI for new git version

This commit is contained in:
classabbyamp 2022-04-16 14:39:39 -04:00 committed by Michael Aldridge
parent 12d37f24c9
commit e4cc32f921
1 changed files with 3 additions and 0 deletions

View File

@ -8,5 +8,8 @@ elif command -v git >/dev/null 2>&1; then
GIT_CMD=$(command -v git)
fi
# required by git 2.35.2+
$GIT_CMD config --global --add safe.directory /__w/void-packages/void-packages
/bin/echo -e '\x1b[32mFetching upstream...\x1b[0m'
$GIT_CMD fetch --depth 200 https://github.com/void-linux/void-packages.git master