aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/log.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-03-12 19:36:37 -0800
committerAdam Vandenberg2011-03-12 19:36:37 -0800
commitaff5ea54b8aa6362fad0554664b0cead809623ff (patch)
tree9be8ba8a79acebecb3b26d726fb7b8d792308bee /Library/Homebrew/cmd/log.rb
parent498ef3372c2ca43d359071701cff810f9d7139bc (diff)
downloadbrew-aff5ea54b8aa6362fad0554664b0cead809623ff.tar.bz2
Fix 'brew log -p foo'.
Diffstat (limited to 'Library/Homebrew/cmd/log.rb')
-rw-r--r--Library/Homebrew/cmd/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/log.rb b/Library/Homebrew/cmd/log.rb
index 11e1f5564..ce2ef8dc7 100644
--- a/Library/Homebrew/cmd/log.rb
+++ b/Library/Homebrew/cmd/log.rb
@@ -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