brew-log accept git log options & multiple brews

This commit is contained in:
Tianyi Cui authored and Adam Vandenberg committed 2010-10-01 20:29:33 -07:00
1 parent 6201af42c8
commit 69e263cb95
1 file changed
+1 -1
+1 -1
View File
@@ -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.