aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/log.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-02-12 16:53:22 +0000
committerMike McQuaid2017-02-12 16:53:22 +0000
commit735532840d4b4c26972480a9b9282da3e0b130f5 (patch)
tree850b93d3f45f12936ce8223f53eea3f0fec79a61 /Library/Homebrew/cmd/log.rb
parent08c75616396371be93ab6129a71c5d8b91d6c2be (diff)
downloadbrew-735532840d4b4c26972480a9b9282da3e0b130f5.tar.bz2
log: follow renames.
Now that we can rename formulae this makes this command more useful for viewing longer histories.
Diffstat (limited to 'Library/Homebrew/cmd/log.rb')
-rw-r--r--Library/Homebrew/cmd/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/log.rb b/Library/Homebrew/cmd/log.rb
index 81f972b02..22a3ee11d 100644
--- a/Library/Homebrew/cmd/log.rb
+++ b/Library/Homebrew/cmd/log.rb
@@ -26,7 +26,7 @@ module Homebrew
EOS
end
args = ARGV.options_only
- args += ["--", path] unless path.nil?
+ args += ["--follow", "--", path] unless path.nil?
exec "git", "log", *args
end
end