update: make rebase quiet.
I tested the workaround with the newest Git and the Catalina system Git and it wasn't needed in either case. We can re-add it if we get complaints with supported Git versions. Fixes https://github.com/Homebrew/brew/issues/7259
This commit is contained in:
parent
91223b3011
commit
fe5717519c
@ -250,13 +250,7 @@ EOS
|
|||||||
|
|
||||||
if [[ -z "$HOMEBREW_MERGE" ]]
|
if [[ -z "$HOMEBREW_MERGE" ]]
|
||||||
then
|
then
|
||||||
# Work around bug where git rebase --quiet is not quiet
|
git rebase "${QUIET_ARGS[@]}" "$REMOTE_REF"
|
||||||
if [[ -z "$HOMEBREW_VERBOSE" ]]
|
|
||||||
then
|
|
||||||
git rebase "$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 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user