aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brew8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/brew b/bin/brew
index 465d928c7..a07077f95 100755
--- a/bin/brew
+++ b/bin/brew
@@ -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