Function: magit-ediff-show-commit

magit-ediff-show-commit is an autoloaded, interactive and byte-compiled function defined in magit-ediff.el.

Signature

(magit-ediff-show-commit ARG1)

Documentation

Show changes introduced by COMMIT using Ediff.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-ediff.el
;;;###autoload(autoload 'magit-ediff-show-commit "magit-ediff" nil t)
(transient-define-suffix magit-ediff-show-commit (commit)
  "Show changes introduced by COMMIT using Ediff."
  (interactive (list (magit-read-branch-or-commit "Revision")))
  (let ((revA (concat commit "^"))
        (revB commit))
    (apply #'magit-ediff-compare
           revA revB
           (magit-ediff-read-files revA revB (magit-current-file)))))