aboutsummaryrefslogtreecommitdiffstats
path: root/bin/brew
diff options
context:
space:
mode:
authorMichael Dippery2010-10-30 09:45:58 -0400
committerAdam Vandenberg2010-10-30 07:57:42 -0700
commit091859fe4db50ac49a9c292974fd3c2bd78b3068 (patch)
tree33576b9736cfc36400dc3ead37e4ad16c5f40f93 /bin/brew
parent49a52c9f1f3e2f74111ffff019051499f818d941 (diff)
downloadhomebrew-091859fe4db50ac49a9c292974fd3c2bd78b3068.tar.bz2
`brew log` should show complete Git log if no formulae are specified
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'bin/brew')
-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.