]> git.eshelyaron.com Git - emacs.git/commit
Support modifying VC change comments for Git
authorSean Whitton <spwhitton@spwhitton.name>
Fri, 18 Oct 2024 09:19:45 +0000 (17:19 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Oct 2024 05:06:17 +0000 (07:06 +0200)
commit1782acd2de6a5e453273842810ae7d1bcfef1d90
tree6d0851342c552a0998b1ea39dca3e9975659fb49
parentd823dc2b77a36d68f834828e126ccec722c4cd6a
Support modifying VC change comments for Git

* lisp/vc/vc.el (vc-allow-rewriting-published-history): New option.
* lisp/vc/vc-git.el (vc-git--assert-allowed-rewrite)
(vc-git-modify-change-comment): New functions (bug#64055).

(vc-git--current-branch): Factor out of vc-git-dir--branch-headers.
(vc-git--log-edit-extract-headers): Factor out of vc-git-checkin.

* etc/NEWS: Announce the new support and option.

(cherry picked from commit 00149f18ea90c0c1dae525581ef4924201336be3)
etc/NEWS
lisp/vc/log-view.el
lisp/vc/vc-git.el
lisp/vc/vc.el