aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Dippery2010-10-30 09:45:58 -0400
committerAdam Vandenberg2010-10-30 07:57:42 -0700
commitc3c27be583b7c95d4197cffc18bfdb7422bd43e4 (patch)
tree3c10421c548ccdd63674ab1476e25b309ed52600
parent8e8875f8f41d22cf03f7d14fdcd494bd9a8aef05 (diff)
downloadbrew-c3c27be583b7c95d4197cffc18bfdb7422bd43e4.tar.bz2
`brew log` should show complete Git log if no formulae are specified
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rwxr-xr-xbin/brew2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/brew b/bin/brew
index 0da923535..be1e2a1a8 100755
--- a/bin/brew
+++ b/bin/brew
@@ -277,7 +277,7 @@ begin
when 'log'
Dir.chdir HOMEBREW_REPOSITORY
args = ARGV.options_only
- args += ARGV.formulae.map{ |formula| formula.path }
+ args += ARGV.formulae.map{ |formula| formula.path } unless ARGV.named.empty?
exec "git", "log", *args
# For each formula given, show which other formulas depend on it.