aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.