aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEloy Duran2009-09-20 18:09:45 +0200
committerMax Howell2009-09-28 00:20:51 +0100
commit5a2eae5d499462cd87b97bde51380a326576270e (patch)
treed12c9744ee5df9530d829dd54802fa790a7aa4e3
parent1022c23990d300eaa93da3736db2691896b20664 (diff)
downloadbrew-5a2eae5d499462cd87b97bde51380a326576270e.tar.bz2
Only show the first 8 characters of the commit hashes.
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 909472d64..00a7e4391 100755
--- a/bin/brew
+++ b/bin/brew
@@ -154,7 +154,7 @@ begin
unless updater.update_from_masterbrew!
puts "Already up-to-date."
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?
ohai "The following formulae were updated:"
puts_columns updater.updated_formulae