From b2614ddcb665013a09eb3a1db087cc458b93d15b Mon Sep 17 00:00:00 2001
From: Mike McQuaid <mike@mikemcquaid.com>
Date: Sat, 12 Jan 2019 11:55:06 +0000
Subject: [PATCH] update: make git rebase be quiet.

`--quiet` doesn't seem to be working as expected.
---
 Library/Homebrew/cmd/update.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 0b0c9a6a12..eefe5df2a5 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -250,7 +250,13 @@ EOS
 
   if [[ -z "$HOMEBREW_MERGE" ]]
   then
-    git rebase "${QUIET_ARGS[@]}" "$REMOTE_REF"
+    # 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 \
-- 
GitLab