aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-06-16 10:57:46 +0100
committerMike McQuaid2016-06-16 10:57:46 +0100
commit62dd4b14ba98519e72d804f904a7017c9b88d0d7 (patch)
treefa5f0fd2d9c7811f970dcfb60f28b60764bbc4ca /Library
parentcc10c632a8c2803b7e62a37c9490beca8fb48128 (diff)
downloadbrew-62dd4b14ba98519e72d804f904a7017c9b88d0d7.tar.bz2
update.sh: quieten checkout.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index a7783aba2..4298daab6 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -116,7 +116,7 @@ pop_stash_message() {
reset_on_interrupt() {
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
then
- git checkout "$INITIAL_BRANCH"
+ git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
fi
if [[ -n "$INITIAL_REVISION" ]]
@@ -231,7 +231,7 @@ pull() {
then
if [[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
then
- git checkout "$INITIAL_BRANCH"
+ git checkout "$INITIAL_BRANCH" "${QUIET_ARGS[@]}"
fi
pop_stash