ci/install-depends: attempt to fix "brew cask" stuff
commit3831132ace6e431e54b2f5b1d4f0f35ade15adfd
authorJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2021 02:51:02 +0000 (14 18:51 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jan 2021 03:08:56 +0000 (14 19:08 -0800)
tree8badea7a2d79bea1d9981dcdf5bf6fd62b718dee
parent71ca53e8125e36efbda17293c50027d31681a41f
ci/install-depends: attempt to fix "brew cask" stuff

We run "git pull" against "$cask_repo"; clarify that we are
expecting not to have any of our own modifications and running "git
pull" to merely update, by passing "--ff-only" on the command line.

Also, the "brew cask install" command line triggers an error message
that says:

    Error: Calling brew cask install is disabled! Use brew install
    [--cask] instead.

In addition, "brew install caskroom/cask/perforce" step triggers an
error that says:

    Error: caskroom/cask was moved. Tap homebrew/cask instead.

Attempt to see if blindly following the suggestion in these error
messages gets us into a better shape.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/install-dependencies.sh