vc-git-print-log: pass "--follow" to "log" to handle renamed files

This commit is contained in:
Sam Steingold 2016-11-14 19:08:54 -05:00
parent 4b87030972
commit 39f0543ca1

View file

@ -905,7 +905,7 @@ If LIMIT is non-nil, show no more than this many entries."
(apply 'vc-git-command buffer
'async files
(append
'("log" "--no-color")
'("log" "--no-color" "--follow")
(when shortlog
`("--graph" "--decorate" "--date=short"
,(format "--pretty=tformat:%s"