]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci(osx): update homebrew-cask repository with less noise
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2019 01:18:39 +0000 (10:18 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2019 02:55:46 +0000 (11:55 +0900)
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>
ci/install-dependencies.sh

index ce149ed39c35836d585c8bc574d7b17f03963b2e..a35fa63894408decb3961b624804696106444f1c 100755 (executable)
@@ -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