Function: magit-insert-untracked-files

magit-insert-untracked-files is a byte-compiled function defined in magit-status.el.

Signature

(magit-insert-untracked-files)

Documentation

Maybe insert a list of untracked files.

List files if magit-status-show-untracked-files is non-nil, but also take the local value of Git variable status.showUntrackedFiles into account. The local value of the Lisp variable takes precedence over the local value of the Git variable. The global value of the Git variable is always ignored.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-status.el
(defun magit-insert-untracked-files ()
  "Maybe insert a list of untracked files.

List files if `magit-status-show-untracked-files' is non-nil, but also
take the local value of Git variable `status.showUntrackedFiles' into
account.  The local value of the Lisp variable takes precedence over the
local value of the Git variable.  The global value of the Git variable
is always ignored."
  (magit-insert-files 'untracked #'magit-list-untracked-files))