Function: magit-repolist-column-branch
magit-repolist-column-branch is a byte-compiled function defined in
magit-repos.el.
Signature
(magit-repolist-column-branch _)
Documentation
Insert the current branch.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-repos.el
(defun magit-repolist-column-branch (_)
"Insert the current branch."
(if (file-exists-p ".git")
(let ((branch (magit-get-current-branch)))
(if (member branch magit-main-branch-names)
(magit--propertize-face branch 'shadow)
branch))
(magit--propertize-face "(unpopulated)" 'warning)))