Fix 'brew log -p foo'.

This commit is contained in:
Adam Vandenberg 2011-03-12 19:36:37 -08:00
parent 498ef3372c
commit aff5ea54b8

View File

@ -4,7 +4,7 @@ module Homebrew extend self
if ARGV.named.empty?
exec "git", "log", *ARGV.options_only
else
exec "git", "log", *ARGV.formulae.map(&:path) + ARGV.options_only
exec "git", "log", *ARGV.options_only + ARGV.formulae.map(&:path)
end
end
end