11 lines
233 B
Ruby
11 lines
233 B
Ruby
module Homebrew extend self
|
|
def log
|
|
cd HOMEBREW_REPOSITORY
|
|
if ARGV.named.empty?
|
|
exec "git", "log", *ARGV.options_only
|
|
else
|
|
exec "git", "log", *ARGV.options_only + ARGV.formulae.map(&:path)
|
|
end
|
|
end
|
|
end
|