aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2017-02-13 08:34:12 +0000
committerGitHub2017-02-13 08:34:12 +0000
commit8a10a413a4bafcf31505c2842f4711555c212940 (patch)
treedd4dac8cb92abaf6b563d06fbe4e7dac0b381f53 /Library/Homebrew
parent75bdded6f21d65664fc59e2703628a2ffef992b2 (diff)
parent735532840d4b4c26972480a9b9282da3e0b130f5 (diff)
downloadbrew-8a10a413a4bafcf31505c2842f4711555c212940.tar.bz2
Merge pull request #1995 from MikeMcQuaid/log-follow-renames
log: follow renames.
Diffstat (limited to 'Library/Homebrew')
-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