update: make git rebase be quiet.

`--quiet` doesn't seem to be working as expected.
This commit is contained in:
Mike McQuaid 2019-01-12 11:55:06 +00:00
parent 11c5c3eaec
commit b2614ddcb6
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -250,7 +250,13 @@ EOS
if [[ -z "$HOMEBREW_MERGE" ]]
then
# Work around bug where git rebase --quiet is not quiet
if [[ -z "$HOMEBREW_VERBOSE" ]]
then
git rebase "$REMOTE_REF" >/dev/null
else
git rebase "${QUIET_ARGS[@]}" "$REMOTE_REF"
fi
else
git merge --no-edit --ff "${QUIET_ARGS[@]}" "$REMOTE_REF" \
--strategy=recursive \