Function: magit-repolist-column-flag
magit-repolist-column-flag is a byte-compiled function defined in
magit-repos.el.
Signature
(magit-repolist-column-flag _)
Documentation
Insert a flag as specified by magit-repolist-column-flag-alist.
By default this indicates whether there are uncommitted changes.
- N if there is at least one untracked file.
- U if there is at least one unstaged file.
- S if there is at least one staged file.
Only one letter is shown, the first that applies.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defun magit-repolist-column-flag (_)
"Insert a flag as specified by `magit-repolist-column-flag-alist'.
By default this indicates whether there are uncommitted changes.
- N if there is at least one untracked file.
- U if there is at least one unstaged file.
- S if there is at least one staged file.
Only one letter is shown, the first that applies."
(seq-some (pcase-lambda (`(,fun . ,flag))
(and (funcall fun) flag))
magit-repolist-column-flag-alist))