Function: magit-commit-worktree

magit-commit-worktree is a byte-compiled function defined in magit-git.el.

Signature

(magit-commit-worktree MESSAGE &optional ARG &rest OTHER-PARENTS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-commit-worktree (message &optional arg &rest other-parents)
  (magit-with-temp-index "HEAD" arg
    (and (magit-update-files (magit-unstaged-files))
         (apply #'magit-commit-tree message nil "HEAD" other-parents))))