Variable: magit-commit-show-diff

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

Value

t

Documentation

Whether the relevant diff is automatically shown when committing.

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

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-commit.el
(defcustom magit-commit-show-diff t
  "Whether the relevant diff is automatically shown when committing."
  :package-version '(magit . "2.3.0")
  :group 'magit-commands
  :type 'boolean)