brew-log accept git log options & multiple brews
This commit is contained in:
parent
f708b0b81f
commit
05d7c0cae0
2
bin/brew
2
bin/brew
@ -254,7 +254,7 @@ begin
|
|||||||
when 'log'
|
when 'log'
|
||||||
Dir.chdir HOMEBREW_REPOSITORY
|
Dir.chdir HOMEBREW_REPOSITORY
|
||||||
args = ARGV.options_only
|
args = ARGV.options_only
|
||||||
args.unshift ARGV.formulae.first.path unless ARGV.named.empty?
|
args += ARGV.formulae.map{ |formula| formula.path }
|
||||||
exec "git", "log", *args
|
exec "git", "log", *args
|
||||||
|
|
||||||
# For each formula given, show which other formulas depend on it.
|
# For each formula given, show which other formulas depend on it.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user