From cec14e5822247a9c3323008b6f66a427c85848bc Mon Sep 17 00:00:00 2001 From: sureshe456 <160699174+sureshe456@users.noreply.github.com> Date: Mon, 24 Feb 2025 20:36:16 +0530 Subject: [PATCH] [macOS] update git version to 2.48.1 (#11648) --- images/macos/scripts/build/install-git.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/images/macos/scripts/build/install-git.sh b/images/macos/scripts/build/install-git.sh index ea064a93..adc3eccc 100644 --- a/images/macos/scripts/build/install-git.sh +++ b/images/macos/scripts/build/install-git.sh @@ -7,14 +7,7 @@ source ~/utils/utils.sh echo "Installing Git..." -#brew_smart_install "git" - -COMMIT=aecf26f53d0d1d15d42f658ae2db243f87746af6 -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 "*"