Merge pull request #1077 from MikeMcQuaid/no-checkout-branch-message

update.sh: don't print "checkout branch" message.
This commit is contained in:
Mike McQuaid 2016-09-22 11:43:13 +01:00 committed by GitHub
commit 9784fa4122

View File

@ -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" ]] &&