aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-24 17:17:31 +0000
committerMike McQuaid2015-02-24 17:17:31 +0000
commit2dc5c414dfa93595787c9801d4f4f6e0659e6d78 (patch)
treebc0ad9045ef83c3ac69da165d978625bc8bd16e9 /Library
parent051c55457e3356662da72ffdf74c9b3dcb9db08a (diff)
downloadhomebrew-2dc5c414dfa93595787c9801d4f4f6e0659e6d78.tar.bz2
pull: don't try to tap formulae.
Unneeded now we're using canonical names.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/pull.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index eaee811e3..c2009cdd7 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -93,7 +93,6 @@ module Homebrew
pull_url url
changed_formulae = []
- changed_formulae_paths = []
if tap_dir
formula_dir = %w[Formula HomebrewFormula].find { |d| tap_dir.join(d).directory? } || ""
@@ -105,9 +104,7 @@ module Homebrew
"git", "diff-tree", "-r", "--name-only",
"--diff-filter=AM", revision, "HEAD", "--", formula_dir
).each_line do |line|
- line = line.chomp
- name = File.basename(line, ".rb")
- changed_formulae_paths << Pathname.new("#{formula_dir}/#{line}") if tap_dir
+ name = File.basename(line.chomp, ".rb")
begin
changed_formulae << Formula[name]
@@ -117,8 +114,6 @@ module Homebrew
end
end
- link_tap_formula(changed_formulae_paths, false)
-
unless ARGV.include? '--bottle'
changed_formulae.each do |f|
next unless f.bottle