Function: vc-jj-checkin

vc-jj-checkin is a natively compiled function defined in vc-jj.el.

Signature

(vc-jj-checkin FILES COMMENT &optional REV)

Documentation

Run "jj commit" with supplied FILES and COMMENT.

Source Code

;; Defined in /nix/store/j1ql1qsv99iszr5pqf5fk9yfcl5pq4nv-emacs-packages-deps/share/emacs/site-lisp/elpa/vc-jj-0.5/vc-jj.el
;;;; receive-file

;;;; unregister

;;;; checkin

(defun vc-jj-checkin (files comment &optional _rev)
  "Run \"jj commit\" with supplied FILES and COMMENT."
  (let* ((comment (car (log-edit-extract-headers () comment)))
         (args (append (vc-switches 'jj 'checkin)
                       (list "commit" "-m" comment))))
    (apply #'vc-jj--command-dispatched nil 0 files args)))