Function: magit-unstage-intent

magit-unstage-intent is a byte-compiled function defined in magit-apply.el.

Signature

(magit-unstage-intent FILES)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-unstage-intent (files)
  (if-let* ((staged (magit-staged-files))
            (intent (seq-filter (##member % staged) files)))
      (magit-unstage-1 intent)
    (user-error "Already unstaged")))