]> 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)
committerEshel Yaron <me@eshelyaron.com>
Sat, 16 Dec 2023 19:14:04 +0000 (20:14 +0100)
commit5ea96344b8e07abd91a71377e4ffa1033cf2c9a6
tree4aeafd4a26b81e7fd06e20c69248d329a7f5ba9b
parentd5f64357da76679a123b5ec9dde54ecec9d583a2
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.

(cherry picked from commit 5b80894d0a7ff94496c37bad595579c29f5a925c)
etc/NEWS
lisp/vc/log-view.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc.el