aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/log.rb')
-rw-r--r--Library/Homebrew/cmd/log.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/log.rb b/Library/Homebrew/cmd/log.rb
index 9492c1e1e..81f972b02 100644
--- a/Library/Homebrew/cmd/log.rb
+++ b/Library/Homebrew/cmd/log.rb
@@ -5,6 +5,8 @@
require "formula"
module Homebrew
+ module_function
+
def log
if ARGV.named.empty?
cd HOMEBREW_REPOSITORY
@@ -16,8 +18,6 @@ module Homebrew
end
end
- private
-
def git_log(path = nil)
if File.exist? "#{`git rev-parse --show-toplevel`.chomp}/.git/shallow"
opoo <<-EOS.undent