diff options
| author | Mike McQuaid | 2016-09-22 09:05:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-22 09:05:07 +0100 |
| commit | b33df4d0fad3ba6a968a86b14170ff1395239be3 (patch) | |
| tree | 5e5a3e5b4c60f49e7fe6bd8ffb59be64dd1f54e7 /Library/Homebrew/cmd | |
| parent | 23efbc51980b7248e56a0a832544d498318bf1dd (diff) | |
| download | brew-b33df4d0fad3ba6a968a86b14170ff1395239be3.tar.bz2 | |
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.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/update.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index a043853d8..5f082024d 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -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" ]] && |
