Fix vc-pijul-revert, vc-pijul-checkin, vc-pijul-dir-status-files, vc-pijul-mode-line-string.
UOLMJXXJ5MBMFF2RIHV7DW5R4NBEXLQLHT76A5V37SIH6XKLIIMQC ;; FIXME: With the --amend option, you need to specify all the;; files that were for the "change" to which the action is being;; applied.(apply #'vc-pijul-command nil 0 files "rec"`("--all" ,@args "--description" ,description))))
(apply #'vc-pijul-command nil 0(if (seq-contains-p args "--amend") nil files)"rec" `("--all" ,@args "--description" ,description))))
(when-let ((file-state (vc-pijul--file-state root(match-string 2)(vc-pijul--state-code (match-string 1)))))(push file-state result)(push (seq-first file-state) registered-and-not-up-to-date-files)))
(when-let ((file (match-string 2))(state (match-string 1))(file-state (vc-pijul--file-state rootfile (vc-pijul--state-code state))))(unless (seq-contains-p registered-and-not-up-to-date-files file)(push file-state result)(push file registered-and-not-up-to-date-files))))
(funcall update-function (nreverse result)(not (null (seq-differencefiles registered-and-not-up-to-date-files))))(let* ((rest-files (seq-differencefiles registered-and-not-up-to-date-files))(last (seq-first (last rest-files))))(seq-each (lambda (file)(funcallupdate-function`((,file ,(if (vc-pijul-registered file)'up-to-date'unregistered)nil))(unless (equal last file) t)))rest-files))))
(funcall update-function (nreverse result) nil)))