diff --git a/bin/brew b/bin/brew index 9efbfa93c0..000d074d4e 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.