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