I like to see full file history regardless file renames (and with Java convention class name == file name several refactoring makes following history difficult).


1 Answer 1


This is possible in Emacs 26.1. You need to set the configuration variable vc-git-print-log-follow to t. The functionality was implemented in the following commit:


That change is a workaround for Emacs bug #8756: vc-git.el doesn't use --follow argument in vc-git-print-log but is not considered a full solution.

In the resulting *vc-change-log* buffer, not all commands are fully working. For example log-view-diff (invoked by pressing d) and log-view-annotate-version (invoked by pressing a) do not work for commits before the rename, but log-view-diff-changeset (invoked by pressing D) does work.

  • 1
    Please also summarize in your answer what you expect someone to learn wrt your answer if they follow the link. This is close to being a link-only answer (it's not link-only, but it could be better). Link-only answers are typically deleted.
    – Drew
    Feb 2, 2019 at 0:09
  • Great! This feature is marked for v26.1. I gave up with porting my .emacs and debugging issues with packages. So currently is at v25.3 ((
    – gavenkoa
    Feb 2, 2019 at 16:00
  • @Drew, thanks for the feedback. I have expanded my answer. Feb 3, 2019 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.