aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2017-03-20 15:28:24 +0200
committerMike McQuaid2017-03-20 15:28:24 +0200
commitae43415fb4d01593edda26803830ffe92967ce36 (patch)
tree6ed92aa9cef7af271d14578fefdb14a0cb3da4b1 /Library
parent00af5250f0a7988178ed8d26520bf1a98a8dea9a (diff)
downloadbrew-ae43415fb4d01593edda26803830ffe92967ce36.tar.bz2
update-report: migrated formulae were not deleted.
The taps they were migrated to are auto-tapped if not already tapped anyway so don't show them as deleted to avoid confusion.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index c13d82090..b50f2c647 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -361,7 +361,10 @@ class Reporter
case status
when "A", "D"
- @report[status.to_sym] << tap.formula_file_to_name(src)
+ full_name = tap.formula_file_to_name(src)
+ name = full_name.split("/").last
+ new_tap = tap.tap_migrations[name]
+ @report[status.to_sym] << full_name unless new_tap
when "M"
begin
formula = Formulary.factory(tap.path/src)