]> git.eshelyaron.com Git - emacs.git/commit
Support viewing VC change history across renames (Git, Hg)
authorDmitry Gutov <dmitry@gutov.dev>
Fri, 15 Dec 2023 20:26:59 +0000 (22:26 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Fri, 15 Dec 2023 20:37:40 +0000 (22:37 +0200)
commit5b80894d0a7ff94496c37bad595579c29f5a925c
tree9aacd16fa77adae1966ebf06b8afca0eccb1b5a6
parent8e0882d17a38cb9d309df705e76a8e88529f30a9
Support viewing VC change history across renames (Git, Hg)

* lisp/vc/vc.el (vc-print-log-setup-buttons):
When the log ends at a rename, add a button to jump to the
previous names.  Use the new backend action 'file-name-changes'.

* lisp/vc/vc-git.el (vc-git-print-log-follow): New option.
(vc-git-file-name-changes): Implementation (bug#55871, bug#39044).
(vc-git-print-log-follow): Update docstring.

* lisp/vc/log-view.el (log-view-find-revision)
(log-view-annotate-version): Pass the log's VC backend explicitly.

* lisp/vc/vc-hg.el (vc-hg-file-name-changes):
Add Hg implementation (bug#13004).

* etc/NEWS: Mention the changes.
etc/NEWS
lisp/vc/log-view.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc.el