aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2010-03-10 13:00:41 +0000
committerMax Howell2010-03-10 13:00:41 +0000
commit2988f1e15c5a4f78eec200715723f31f85ba2fb8 (patch)
tree57551f702d32ca943e24d0e800518efb32fc9bcc
parent557f500d11f2bc6c36288f938fddc22f52b27836 (diff)
downloadhomebrew-2988f1e15c5a4f78eec200715723f31f85ba2fb8.tar.bz2
Plain `brew log` shows the entire Homebrew git log
-rwxr-xr-xbin/brew4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index cdb47911e..efb88aa98 100755
--- a/bin/brew
+++ b/bin/brew
@@ -278,7 +278,9 @@ begin
when 'log'
Dir.chdir HOMEBREW_REPOSITORY
- exec "git", "log", ARGV.formulae.first.path, *ARGV.options
+ args = ARGV.options
+ args.unshift ARGV.formulae.first.path unless ARGV.named.empty?
+ exec "git", "log", *args
when 'uses'
# For each formula given, show which other formulas depend on it.