Skip to content

Commit

Permalink
update.sh: don't print "checkout branch" message.
Browse files Browse the repository at this point in the history
It’ll only get printed for people getting updated to tags now and these
are people who haven’t run a `dev-cmd` so we want to air on the side of
telling them less stuff that will confuse them and assume people who
have manually made another `git` branch will know how to get back to it.
  • Loading branch information
MikeMcQuaid committed Sep 22, 2016
1 parent 23efbc5 commit b33df4d
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 b33df4d

Please sign in to comment.