]> git.eshelyaron.com Git - emacs.git/commit
vc-git-modify-change-comment: Check for other autosquashing
authorSean Whitton <spwhitton@spwhitton.name>
Wed, 23 Oct 2024 02:49:22 +0000 (10:49 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Oct 2024 05:06:30 +0000 (07:06 +0200)
commit06706396b27eb1f60acd3cdd45153d1e7679a697
tree6f39d72e8fff9434793c511e368ab1a37b2db5a9
parenta69eff3bcc7bab6cf89776ba77eab574b5e97e6b
vc-git-modify-change-comment: Check for other autosquashing

* lisp/vc/vc-git.el (vc-git-modify-change-comment): Check that a
rebase with --autosquash won't make any other changes and give
the user a chance to abort.

(cherry picked from commit c259db1d454a27cc79217f4740b1ecdb4bb28114)
lisp/vc/vc-git.el