Skip to content

Commit 0dbc4a0

Browse files
committed
ci(osx): update homebrew-cask repository with less noise
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 <szeder.dev@gmail.com> Helped-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 0eb3671 commit 0dbc4a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/install-dependencies.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ osx-clang|osx-gcc)
4242
brew link --force gettext
4343
brew cask install perforce || {
4444
# Update the definitions and try again
45-
git -C "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask pull &&
45+
cask_repo="$(brew --repository)"/Library/Taps/homebrew/homebrew-cask &&
46+
git -C "$cask_repo" pull --no-stat &&
4647
brew cask install perforce
4748
} ||
4849
brew install caskroom/cask/perforce

0 commit comments

Comments
 (0)