Fix 'brew log -p foo'.
This commit is contained in:
parent
498ef3372c
commit
aff5ea54b8
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user