]> git.eshelyaron.com Git - emacs.git/commit
Don't call vc-buffer-sync-fileset when committing a patch
authorSean Whitton <spwhitton@spwhitton.name>
Sat, 5 Jul 2025 08:49:13 +0000 (09:49 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:20:29 +0000 (22:20 +0200)
commitaf40dbf78f8ddbe50085bf18775f3b1b88fe6e65
tree867dd345037d77e816921dc42dc870b573db773c
parentf00a616d1b0ce38f1a3d8793ecc83a08bcdf170d
Don't call vc-buffer-sync-fileset when committing a patch

* lisp/vc/vc-dispatcher.el (vc-finish-logentry): Move call to
vc-buffer-sync-fileset from here ...
* lisp/vc/vc.el (vc-checkin): ... to here, and conditionalize so
as not to call when committing a patch.  Also fix comment.

(cherry picked from commit 45d148680367b73fc19d511b4abe5a4bb961ebc2)
lisp/vc/vc-dispatcher.el
lisp/vc/vc.el