Function: magit-stage-1
magit-stage-1 is a byte-compiled function defined in magit-apply.el.
Signature
(magit-stage-1 ARG &optional FILES)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-stage-1 (arg &optional files)
(magit-run-before-change-functions files "stage")
(magit-run-git "add" arg (if files (cons "--" files) "."))
(when magit-auto-revert-mode
(mapc #'magit-turn-on-auto-revert-mode-if-desired files))
(magit-run-after-apply-functions files "stage"))