Function: magit-diff-trace-definition

magit-diff-trace-definition is an interactive and natively 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

magit-diff-section-base-map C-c C-t magit-diff-section-map C-c C-t

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))))