aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMax Howell2010-03-10 13:00:41 +0000
committerMax Howell2010-03-10 13:00:41 +0000
commitde08865203b1a01ab8c307217abfedff8d375390 (patch)
tree97d365b77c38236f128f29b07f13fd4aa77caecc /bin
parentc29219e27c0063275c83496b8ecdac9ba4409377 (diff)
downloadbrew-de08865203b1a01ab8c307217abfedff8d375390.tar.bz2
Plain `brew log` shows the entire Homebrew git log
Diffstat (limited to 'bin')
-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.