Skip to content

Commit

Permalink
Merge pull request #1077 from MikeMcQuaid/no-checkout-branch-message
Browse files Browse the repository at this point in the history
update.sh: don't print "checkout branch" message.
  • Loading branch information
MikeMcQuaid authored Sep 22, 2016
2 parents c310557 + b33df4d commit 9784fa4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Library/Homebrew/cmd/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,14 +258,6 @@ EOS
if [[ -n "$UPSTREAM_TAG" ]] ||
[[ "$INITIAL_BRANCH" != "$UPSTREAM_BRANCH" && -n "$INITIAL_BRANCH" ]]
then

if [[ -z "$HOMEBREW_NO_UPDATE_CLEANUP" ]]
then
echo "Checking out $UPSTREAM_BRANCH in $DIR..."
echo "To checkout $INITIAL_BRANCH in $DIR run:"
echo " 'cd $DIR && git checkout $INITIAL_BRANCH"
fi

# Recreate and check out `#{upstream_branch}` if unable to fast-forward
# it to `origin/#{@upstream_branch}`. Otherwise, just check it out.
if [[ -z "$UPSTREAM_TAG" ]] &&
Expand Down

0 comments on commit 9784fa4

Please sign in to comment.