Variable: magit-ediff-dwim-show-on-hunks

magit-ediff-dwim-show-on-hunks is a customizable variable defined in magit-ediff.el.

Value

nil

Documentation

Whether magit-ediff-dwim runs show variants on hunks.

If non-nil, magit-ediff-show-staged or magit-ediff-show-unstaged are called based on what section the hunk is in. Otherwise, magit-ediff-dwim runs magit-ediff-stage when point is on an uncommitted hunk.

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

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-ediff.el
(defcustom magit-ediff-dwim-show-on-hunks nil
  "Whether `magit-ediff-dwim' runs show variants on hunks.
If non-nil, `magit-ediff-show-staged' or
`magit-ediff-show-unstaged' are called based on what section the
hunk is in.  Otherwise, `magit-ediff-dwim' runs
`magit-ediff-stage' when point is on an uncommitted hunk."
  :package-version '(magit . "2.2.0")
  :group 'magit-ediff
  :type 'boolean)