update.sh: don't print "checkout branch" message.
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.
This commit is contained in:
parent
23efbc5198
commit
b33df4d0fa
@ -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" ]] &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user