aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-03-07 16:43:33 +0000
committerMike McQuaid2014-03-08 01:12:02 +0000
commit52658e793a591f76b3cbf3884e044f9dba7c5095 (patch)
tree8f13b041d7198794be3d644ccd30ebe2bb6d7a5d /Library
parentaa15b265e531fa66ddda6136a4aaaa2a601159ab (diff)
downloadbrew-52658e793a591f76b3cbf3884e044f9dba7c5095.tar.bz2
pull: warn if not pulling bottles.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 8e3a5112d..db3c68d0f 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -85,6 +85,14 @@ ARGV.named.each do |arg|
changed_formulae << Formula.factory(formula)
end
end
+
+ unless ARGV.include?('--bottle')
+ changed_formulae.each do |f|
+ next unless f.bottle
+ opoo "#{f} has a bottle: do you need to update it with --bottle?"
+ end
+ end
+
if issue && !ARGV.include?('--clean')
ohai "Patch closes issue ##{issue}"
message = `git log HEAD^.. --format=%B`