aboutsummaryrefslogtreecommitdiffstats
path: root/bin/brew
diff options
context:
space:
mode:
authorTianyi Cui2010-09-30 10:40:06 +0800
committerAdam Vandenberg2010-10-01 20:29:33 -0700
commit69e263cb953eb41690b05e9dadef4d4cf0b00a86 (patch)
tree707a39740a2146d491377e1eea207fec2ecd9c2d /bin/brew
parent6201af42c877261b1ca6b3544267024d859d65d8 (diff)
downloadhomebrew-69e263cb953eb41690b05e9dadef4d4cf0b00a86.tar.bz2
brew-log accept `git log` options & multiple brews
Diffstat (limited to 'bin/brew')
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 9efbfa93c..000d074d4 100755
--- a/bin/brew
+++ b/bin/brew
@@ -254,7 +254,7 @@ begin
when 'log'
Dir.chdir HOMEBREW_REPOSITORY
args = ARGV.options_only
- args.unshift ARGV.formulae.first.path unless ARGV.named.empty?
+ args += ARGV.formulae.map{ |formula| formula.path }
exec "git", "log", *args
# For each formula given, show which other formulas depend on it.