Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
pull: don't try to tap formulae.
Browse files Browse the repository at this point in the history
Unneeded now we're using canonical names.
  • Loading branch information
MikeMcQuaid committed Feb 24, 2015
1 parent 051c554 commit 2dc5c41
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Library/Homebrew/cmd/pull.rb
Expand Up @@ -93,7 +93,6 @@ def pull
pull_url url

changed_formulae = []
changed_formulae_paths = []

if tap_dir
formula_dir = %w[Formula HomebrewFormula].find { |d| tap_dir.join(d).directory? } || ""
Expand All @@ -105,9 +104,7 @@ def pull
"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]
Expand All @@ -117,8 +114,6 @@ def pull
end
end

link_tap_formula(changed_formulae_paths, false)

unless ARGV.include? '--bottle'
changed_formulae.each do |f|
next unless f.bottle
Expand Down

0 comments on commit 2dc5c41

Please sign in to comment.