Function: magit-unstage-intent
magit-unstage-intent is a natively compiled function defined in
magit-apply.el.
Signature
(magit-unstage-intent FILES)
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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")))