Function: magit-diff-trace-definition

magit-diff-trace-definition is an interactive and byte-compiled function defined in magit-log.el.

Signature

(magit-diff-trace-definition)

Documentation

Show log for the definition at point in a diff.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-log.el
(defun magit-diff-trace-definition ()
  "Show log for the definition at point in a diff."
  (interactive)
  (pcase-let ((`(,buf ,pos) (magit-diff-visit-file--noselect)))
    (magit--with-temp-position buf pos
      (call-interactively #'magit-log-trace-definition))))