Variable: magit-repolist-column-flag-alist
magit-repolist-column-flag-alist is a customizable variable defined in
magit-repos.el.
Value
((magit-untracked-files . "N") (magit-unstaged-files . "U")
(magit-staged-files . "S"))
Documentation
Association list of predicates and flags for magit-repolist-column-flag.
Each element is of the form (FUNCTION . FLAG). Each FUNCTION is
called with no arguments, with default-directory bound to the
top level of a repository working tree, until one of them returns
a non-nil value. FLAG corresponding to that function is returned
as the value of magit-repolist-column-flag.
This variable was added, or its default value changed, in magit version 3.0.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defcustom magit-repolist-column-flag-alist
`((,#'magit-untracked-files . "N")
(,#'magit-unstaged-files . "U")
(,#'magit-staged-files . "S"))
"Association list of predicates and flags for `magit-repolist-column-flag'.
Each element is of the form (FUNCTION . FLAG). Each FUNCTION is
called with no arguments, with `default-directory' bound to the
top level of a repository working tree, until one of them returns
a non-nil value. FLAG corresponding to that function is returned
as the value of `magit-repolist-column-flag'."
:package-version '(magit . "3.0.0")
:group 'magit-repolist
:type '(alist :key-type (function :tag "Predicate Function")
:value-type (string :tag "Flag")))