brew log command

Shows the git-log for that formula.
This commit is contained in:
Max Howell 2009-09-24 19:19:57 +01:00
parent dc0e64dc22
commit bfb3e1bfe0
2 changed files with 12 additions and 4 deletions

View File

@ -89,14 +89,18 @@ Commands:
install formula ... [--debug|-d] [--interactive|-i] [--ignore-dependencies] install formula ... [--debug|-d] [--interactive|-i] [--ignore-dependencies]
remove formula ... remove formula ...
search [regex] search [regex]
list [formula] ... list [-v] [formula] ...
link formula ... link formula ...
unlink formula ...
home formula ... home formula ...
info [formula] [--github] info [formula] [--github]
create URL
prune prune
update update
Commands useful when contributing:
log formula
create URL
To visit the Homebrew homepage type: To visit the Homebrew homepage type:
brew home brew home
EOS EOS

View File

@ -203,6 +203,10 @@ begin
ARGV.named.each {|name| info name} ARGV.named.each {|name| info name}
end end
when 'log'
Dir.chdir HOMEBREW_PREFIX
exec "git", "log", ARGV.formulae.first.path, *ARGV.options
else else
puts ARGV.usage puts ARGV.usage
end end