aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/update.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 9a9567101..ed51444c5 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -245,10 +245,9 @@ EOS
if [[ -z "$HOMEBREW_DEVELOPER" ]]
then
- opoo <<EOS
-Checking out $UPSTREAM_BRANCH.
-Set HOMEBREW_DEVELOPER=1 to preserve branch when updating Homebrew.
-EOS
+ 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