Variable: magit-log-section-commit-count

magit-log-section-commit-count is a customizable variable defined in magit-log.el.

Value

10

Documentation

How many recent commits to show in certain log sections.

How many recent commits magit-insert-recent-commits and magit-insert-unpulled-from-upstream-or-recent (provided the upstream isn't ahead of the current branch) show.

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-log.el
;;;; Log Sections

(defcustom magit-log-section-commit-count 10
  "How many recent commits to show in certain log sections.
How many recent commits `magit-insert-recent-commits' and
`magit-insert-unpulled-from-upstream-or-recent' (provided
the upstream isn't ahead of the current branch) show."
  :package-version '(magit . "2.1.0")
  :group 'magit-status
  :type 'number)