From 0dbc4a0edfe6356ddba0e19a733e5f3e2d407aaa Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 20 Nov 2019 10:18:39 +0900 Subject: ci(osx): update homebrew-cask repository with less noise MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The OSX CI build procedure updates the homebrew-cask repository before attempting to install perforce again, after seeing an installation failure. This involves a "git pull" that by default computes and outputs diffstat, which would only grow as the time goes by and the repository cast in stone in the CI build image becomes more and more stale relative to the upstream repository in the outside world. Suppress the diffstat to both save cycles to generate it, and strain on the eyeballs to skip it. Reported-by: SZEDER Gábor Helped-by: Johannes Schindelin Signed-off-by: Junio C Hamano diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index ce149ed..a35fa63 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -42,7 +42,8 @@ osx-clang|osx-gcc) brew link --force gettext brew cask install perforce || { # Update the definitions and try again - git -C "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask pull && + cask_repo="$(brew --repository)"/Library/Taps/homebrew/homebrew-cask && + git -C "$cask_repo" pull --no-stat && brew cask install perforce } || brew install caskroom/cask/perforce -- cgit v0.10.2-6-g49f6