add `vc-git-print-log-follow' and use it in `vc-git-print-log'
commit8663fad0a70e60e130ae4cd0529ead66fbad2250
authorSam Steingold <sds@gnu.org>
Tue, 15 Nov 2016 04:37:33 +0000 (14 23:37 -0500)
committerSam Steingold <sds@gnu.org>
Tue, 15 Nov 2016 04:37:33 +0000 (14 23:37 -0500)
tree1628f1c45d6d5c81026bec5bd807400b7d177168
parent1f97c37bc6fb8cfd60731cef8df0aebdd509f23d
add `vc-git-print-log-follow' and use it in `vc-git-print-log'

When `vc-git-print-log-follow' is true and all files are
non-directory, pass "--follow" to "git log".
This works around bug#8756 and bug#16422.
lisp/vc/vc-git.el