summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-09-29 10:08:04 +0300
committerEli Zaretskii <eliz@gnu.org>2023-09-29 10:08:04 +0300
commitd9d6e14a698967057afb49aeb6a3af17fa645ee4 (patch)
treebcf7a599b2c392f7857a59afe0beb54542a6932d
parentd558f38fe5c6748f6a08c7635fa58ce14cb667b1 (diff)
downloademacs-d9d6e14a698967057afb49aeb6a3af17fa645ee4.tar.gz
; * lisp/vc/vc.el (vc-next-action): Improve commentary.
-rw-r--r--lisp/vc/vc.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index db4fa76abd4..51d0d20ae3e 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -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))