From 84b177af1632c67d56338e7c706fbee966b6e24e Mon Sep 17 00:00:00 2001 From: Erik Bershel <110455084+erik-bershel@users.noreply.github.com> Date: Thu, 25 Dec 2025 15:25:57 +0100 Subject: [PATCH] Revert "[macOS]Pin Git to 2.50.1 version (#12954)" (#13481) This reverts commit 92166f64eec50b369300355df6081acca139ae82. --- images/macos/scripts/build/install-git.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/images/macos/scripts/build/install-git.sh b/images/macos/scripts/build/install-git.sh index 4804802a7..adc3ecccf 100644 --- a/images/macos/scripts/build/install-git.sh +++ b/images/macos/scripts/build/install-git.sh @@ -7,15 +7,7 @@ source ~/utils/utils.sh echo "Installing Git..." -#brew_smart_install "git" - -# pin Git to 2.50.1 due to problems in the latest Git version 2.51.0 -COMMIT=6b39030bc0d0a0a8df99afe37e5ae4d61ba07c88 -FORMULA_URL="https://raw.githubusercontent.com/Homebrew/homebrew-core/$COMMIT/Formula/g/git.rb" -FORMULA_PATH="$(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/g/git.rb" -mkdir -p "$(dirname $FORMULA_PATH)" -curl -fsSL $FORMULA_URL -o $FORMULA_PATH -HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_FROM_API=1 brew install git +brew_smart_install "git" git config --global --add safe.directory "*"