Fix brew log foo

This commit is contained in:
Max Howell 2011-02-13 12:23:17 +00:00 committed by Adam Vandenberg
parent 712dcff45f
commit a8d185efa0

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.formulae.map(&:path) + ARGV.options_only
end
end
end