Function: magit-refs-set-show-commit-count

magit-refs-set-show-commit-count is an interactive and natively compiled function defined in magit-refs.el.

Signature

(magit-refs-set-show-commit-count)

Documentation

Change for which refs the commit count is shown.

Key Bindings

magit-refs-mode-map C-y

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-refs.el
(transient-define-suffix magit-refs-set-show-commit-count ()
  "Change for which refs the commit count is shown."
  :description "Change verbosity"
  :key "v"
  :transient nil
  :if-derived 'magit-refs-mode
  (interactive)
  (setq-local magit-refs-show-commit-count
              (magit-read-char-case "Show commit counts for " nil
                (?a "[a]ll refs" 'all)
                (?b "[b]ranches only" t)
                (?n "[n]othing" nil)))
  (magit-refresh))