Only show the first 8 characters of the commit hashes.

This commit is contained in:
Eloy Duran 2009-09-20 18:09:45 +02:00 committed by Max Howell
parent 1022c23990
commit 5a2eae5d49

View File

@ -154,7 +154,7 @@ begin
unless updater.update_from_masterbrew! unless updater.update_from_masterbrew!
puts "Already up-to-date." puts "Already up-to-date."
else else
puts "Updated Homebrew from #{old_revision} to #{updater.current_revision}." puts "Updated Homebrew from #{old_revision[0,8]} to #{updater.current_revision[0,8]}."
if updater.pending_formulae_changes? if updater.pending_formulae_changes?
ohai "The following formulae were updated:" ohai "The following formulae were updated:"
puts_columns updater.updated_formulae puts_columns updater.updated_formulae