aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-23 17:32:43 -0700
committerAdam Vandenberg2010-08-07 18:08:48 -0700
commit7768e59a509bc3c93dccce13d74c9ca60e219241 (patch)
treef7316d9054198e22002ecb971cb4b1b79ab0d10e /bin
parentda7854401d708862cb41338c49f00f0486654e23 (diff)
downloadbrew-7768e59a509bc3c93dccce13d74c9ca60e219241.tar.bz2
Show changed examples on update [telemachus]
* Also move updater output into the class itself
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew19
1 files changed, 1 insertions, 18 deletions
diff --git a/bin/brew b/bin/brew
index 736684aa5..4c6e6861f 100755
--- a/bin/brew
+++ b/bin/brew
@@ -172,24 +172,7 @@ begin
unless updater.update_from_masterbrew!
puts "Already up-to-date."
else
- puts "Updated Homebrew from #{updater.initial_revision[0,8]} to #{updater.current_revision[0,8]}."
- ## New Formulae
- if updater.pending_new_formulae?
- ohai "The following formulae are new:"
- puts_columns updater.added_formulae
- end
- ## Deleted Formulae
- if updater.deleted_formulae?
- ohai "The following formulae were removed:"
- puts_columns updater.deleted_formulae
- end
- ## Updated Formulae
- if updater.pending_formulae_changes?
- ohai "The following formulae were updated:"
- puts_columns updater.updated_formulae
- else
- puts "No formulae were updated."
- end
+ updater.report
end
when 'ln', 'link'