Variable: magit-diff-refine-hunk
magit-diff-refine-hunk is a customizable variable defined in
magit-diff.el.
Value
nil
Documentation
Whether to refine hunks to show word-granularity differences.
nil Never show fine differences.
all Show fine differences for all displayed diff hunks.
t Refine each hunk once it becomes the current section.
Keep the refinement when another section is selected.
Refreshing the buffer removes all refinement. This
variant is only provided for performance reasons.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-diff-refine-hunk nil
"Whether to refine hunks to show word-granularity differences.
`nil' Never show fine differences.
`all' Show fine differences for all displayed diff hunks.
`t' Refine each hunk once it becomes the current section.
Keep the refinement when another section is selected.
Refreshing the buffer removes all refinement. This
variant is only provided for performance reasons."
:group 'magit-diff
:safe (##memq % '(nil t all))
:type '(choice (const :tag "No refinement" nil)
(const :tag "Immediately refine all hunks" all)
(const :tag "Refine each hunk when moving to it" t)))