]> git.eshelyaron.com Git - emacs.git/commit
New revert-files VC backend function for faster mass reverts
authorSean Whitton <spwhitton@spwhitton.name>
Fri, 6 Jun 2025 10:52:32 +0000 (11:52 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 20:01:48 +0000 (22:01 +0200)
commitb8ff1d0d40f2bbd1506170937f54c437ee0639a8
tree3e5f009af189560e4475cabf8fd0e02ba9058c1f
parent9b843f2d1f59dbb9b7565eb7465b80cdc6e97a8a
New revert-files VC backend function for faster mass reverts

* lisp/vc/vc-git.el (vc-git-revert-files):
* lisp/vc/vc-hg.el (vc-hg-revert-files):
* lisp/vc/vc.el (vc-revert-files): New functions.
(vc-revert-files): Incorporate vc-revert's calls to message here
so that the messages are displayed more consistently.
(vc-next-action, vc-default-checkin-patch, vc-revert): Use
vc-revert-files instead of vc-revert-file.

(cherry picked from commit 757f6cb0ac710533d5e18035e8b20a4bc7dcdc7c)
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc.el