Variable: magit-log-color-graph-limit

magit-log-color-graph-limit is a customizable variable defined in magit-log.el.

Value

256

Documentation

Number of commits over which log graphs are not colored.

When showing more commits than specified, then the --color argument is silently dropped. This is necessary because the ansi-color library, which is used to turn control sequences into faces, is just too slow.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
(defcustom magit-log-color-graph-limit 256
  "Number of commits over which log graphs are not colored.
When showing more commits than specified, then the `--color'
argument is silently dropped.  This is necessary because the
`ansi-color' library, which is used to turn control sequences
into faces, is just too slow."
  :package-version '(magit . "4.0.0")
  :group 'magit-log
  :type 'number)