]> 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)
committerJim Porter <jporterbugs@gmail.com>
Wed, 27 Dec 2023 22:22:18 +0000 (14:22 -0800)
commitea4cbb3aae3c7f72ef04337bc2db7292909ca9a1
tree9fed8a224f144f742bfb36df82a10e6f5a1a7fe5
parent9e0eeb2d49ccd443bb667be9231fe932be67bb10
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).
etc/NEWS
lisp/vc/vc-annotate.el
lisp/vc/vc-git.el
lisp/vc/vc-hooks.el