]> git.eshelyaron.com Git - emacs.git/commit
Abbreviate the VC revision in vc-annotate's buffer name
authorJim Porter <jporterbugs@gmail.com>
Thu, 14 Dec 2023 19:31:27 +0000 (11:31 -0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Jan 2024 07:20:50 +0000 (08:20 +0100)
commitf79f88ea1b85575dd3f62e92515318ceff53d7e8
tree8496ac439b2149f7cb2fd3c08e38b67b51e4d078
parent35fed03084b7039e0f13cf599eb0388a9db7d847
Abbreviate the VC revision in vc-annotate's buffer name

* lisp/vc/vc-hooks.el (vc-use-short-revision): New variable.
(vc-short-revision): New function.

* lisp/vc/vc-annotate.el (vc-annotate-use-short-revision): New
option...
(vc-annotate): ... use it.

* lisp/vc/vc-git.el (vc-git--rev-parse): Consult
'vc-use-short-revision'.

* etc/NEWS: Announce this change (bug#67062).

(cherry picked from commit ea4cbb3aae3c7f72ef04337bc2db7292909ca9a1)
etc/NEWS
lisp/vc/vc-annotate.el
lisp/vc/vc-git.el
lisp/vc/vc-hooks.el