From c7f983702c1ff12cb048a456b445bd11ba30e714 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 16 Apr 2022 14:39:39 -0400 Subject: [PATCH] common/travis/fetch_upstream.sh: fix CI for new git version --- common/travis/fetch_upstream.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/travis/fetch_upstream.sh b/common/travis/fetch_upstream.sh index 45315563e0b1..5c0256fdbe17 100755 --- a/common/travis/fetch_upstream.sh +++ b/common/travis/fetch_upstream.sh @@ -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