; * lisp/vc/vc.el (vc-next-action): Improve commentary.

This commit is contained in:
Eli Zaretskii 2023-09-29 10:08:04 +03:00
parent d558f38fe5
commit d9d6e14a69

View file

@ -1275,6 +1275,8 @@ the revision ID or branch ID."
(error "Fileset files are missing, so cannot be operated on"))
((eq state 'ignored)
(error "Fileset files are ignored by the version-control system"))
;; Fileset comes from a diff-mode buffer, see
;; 'diff-vc-deduce-fileset', and the buffer is the patch to apply.
((eq model 'patch)
(vc-checkin files backend nil nil nil (buffer-string)))
((or (null state) (eq state 'unregistered))