log: follow renames.
Now that we can rename formulae this makes this command more useful for viewing longer histories.
This commit is contained in:
parent
08c7561639
commit
735532840d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user