From 735532840d4b4c26972480a9b9282da3e0b130f5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 12 Feb 2017 16:53:22 +0000 Subject: [PATCH] log: follow renames. Now that we can rename formulae this makes this command more useful for viewing longer histories. --- Library/Homebrew/cmd/log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/log.rb b/Library/Homebrew/cmd/log.rb index 81f972b028..22a3ee11dd 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