diff options
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 5d876fbb7..9eeabe135 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -94,6 +94,10 @@ module Homebrew revision = `git rev-parse --short HEAD`.strip branch = `git symbolic-ref --short HEAD`.strip + unless branch == "master" + opoo "Current branch is #{branch}: do you need to pull inside master?" + end + pull_url url changed_formulae = [] |
