From d9d6e14a698967057afb49aeb6a3af17fa645ee4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 29 Sep 2023 10:08:04 +0300 Subject: [PATCH] ; * lisp/vc/vc.el (vc-next-action): Improve commentary. --- lisp/vc/vc.el | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.39.2