Variable: magit-refs-show-commit-count

magit-refs-show-commit-count is a customizable variable defined in magit-refs.el.

Value

nil

Documentation

Whether to show commit counts in Magit-Refs mode buffers.

all Show counts for branches and tags.
branch Show counts for branches only.
nil Never show counts.

To change the value in an existing buffer use the command magit-refs-set-show-commit-count.

This variable was added, or its default value changed, in magit version 2.1.0.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-refs.el
(defcustom magit-refs-show-commit-count nil
  "Whether to show commit counts in Magit-Refs mode buffers.

all    Show counts for branches and tags.
branch Show counts for branches only.
nil    Never show counts.

To change the value in an existing buffer use the command
`magit-refs-set-show-commit-count'."
  :package-version '(magit . "2.1.0")
  :group 'magit-refs
  :safe (##memq % '(all branch nil))
  :type '(choice (const :tag "For branches and tags" all)
                 (const :tag "For branches only"     branch)
                 (const :tag "Never"                 nil)))