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
commitebd958b3bf5e752710e96e4fd14b93f4cdd9bca0 (patch)
treeacbbb1573a21da2b9b9d3ba25488626209772ffb /bin
parent2e8d07b98b065bf28c9061941f5113af7c635311 (diff)
downloadhomebrew-ebd958b3bf5e752710e96e4fd14b93f4cdd9bca0.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'