Merge pull request #7265 from MikeMcQuaid/git-quiet-again

update: make git rebase quiet on Mojave system Git.
This commit is contained in:
Mike McQuaid 2020-04-03 14:58:18 +01:00 committed by GitHub
commit 93e323ff5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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