aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.