Variable: magit-diff-extra-stat-arguments

magit-diff-extra-stat-arguments is a customizable variable defined in magit-diff.el.

Value

nil

Documentation

Additional arguments to be used alongside "--stat".

A list of zero or more arguments or a function that takes no argument and returns such a list. These arguments are allowed here: "--stat-width", "--stat-name-width", "--stat-graph-width" and "--compact-summary". See the git-diff(1) manpage.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-diff.el
(defcustom magit-diff-extra-stat-arguments nil
  "Additional arguments to be used alongside \"--stat\".

A list of zero or more arguments or a function that takes no
argument and returns such a list.  These arguments are allowed
here: \"--stat-width\", \"--stat-name-width\", \"--stat-graph-width\"
and \"--compact-summary\".  See the git-diff(1) manpage."
  :package-version '(magit . "3.0.0")
  :group 'magit-diff
  :type `(radio (function-item ,#'magit-diff-use-window-width-as-stat-width)
                function
                (list string)
                (const :tag "None" nil)))