Skip to content
Snippets Groups Projects
Commit bfb3e1bf authored by Max Howell's avatar Max Howell
Browse files

brew log command

Shows the git-log for that formula.
parent dc0e64dc
No related branches found
No related tags found
No related merge requests found
......@@ -89,14 +89,18 @@ Commands:
install formula ... [--debug|-d] [--interactive|-i] [--ignore-dependencies]
remove formula ...
search [regex]
list [formula] ...
list [-v] [formula] ...
link formula ...
unlink formula ...
home formula ...
info [formula] [--github]
create URL
prune
update
Commands useful when contributing:
log formula
create URL
To visit the Homebrew homepage type:
brew home
EOS
......
......@@ -203,8 +203,12 @@ begin
ARGV.named.each {|name| info name}
end
else
puts ARGV.usage
when 'log'
Dir.chdir HOMEBREW_PREFIX
exec "git", "log", ARGV.formulae.first.path, *ARGV.options
else
puts ARGV.usage
end
rescue UsageError
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment