Function: magit-ediff-show-working-tree
magit-ediff-show-working-tree is an autoloaded, interactive and
byte-compiled function defined in magit-ediff.el.
Signature
(magit-ediff-show-working-tree ARG1)
Documentation
Show changes between HEAD and working tree using Ediff.
FILE must be relative to the top directory of the repository.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-ediff.el
;;;###autoload(autoload 'magit-ediff-show-working-tree "magit-ediff" nil t)
(transient-define-suffix magit-ediff-show-working-tree (file)
"Show changes between `HEAD' and working tree using Ediff.
FILE must be relative to the top directory of the repository."
:inapt-if-not #'magit-anything-modified-p
(interactive
(list (magit-read-file-choice "Show changes in file"
(magit-modified-files)
"No changed files")))
(magit-ediff-buffers (magit-ediff--find-file "HEAD" file)
(magit-ediff--find-file "{worktree}" file)))