Function: magit-discard-files--resurrect
magit-discard-files--resurrect is a byte-compiled function defined in
magit-apply.el.
Signature
(magit-discard-files--resurrect FILES)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-discard-files--resurrect (files)
(magit-confirm-files 'resurrect files)
(if (eq (magit-diff-type) 'staged)
(magit-call-git "reset" "--" files)
(magit-call-git "checkout" "--" files)))