]> git.eshelyaron.com Git - emacs.git/commit
vc-next-action: On mixed state sets, treat missing files as removed
authorSean Whitton <spwhitton@spwhitton.name>
Sun, 8 Jun 2025 10:25:17 +0000 (11:25 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Jun 2025 19:21:38 +0000 (21:21 +0200)
commitf1bc0ec32f1ee4d183b974f49cd3cf3e788cdebc
tree36eaecf22f2ebd72ef5f5b6df65fb1991c0a1778
parenta43cded2b7562c090cca73886ec3cd4a4b8afdd1
vc-next-action: On mixed state sets, treat missing files as removed

* lisp/vc/vc.el (vc-only-files-state-and-model, vc-next-action):
Add the 'missing' state to the set of compatible states for
mixed state actions.  This means you can commit removals of
files without first moving them to the 'removed' state.

(cherry picked from commit 988110fb6d13ce263574c8f4610a89a38ebb6835)
lisp/vc/vc.el