Function: magit-repolist-insert-count

magit-repolist-insert-count is a byte-compiled function defined in magit-repos.el.

Signature

(magit-repolist-insert-count N SPEC)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-repos.el
(defun magit-repolist-insert-count (n spec)
  (magit--propertize-face
   (if (and  (> n 9) (= (cadr (assq :width spec)) 1))
       "+"
     (number-to-string n))
   (if (> n (or (cadr (assq :normal-count spec)) 0)) 'bold 'shadow)))