Function: magit-blame-visit-file

magit-blame-visit-file is an interactive and byte-compiled function defined in magit-blame.el.

Signature

(magit-blame-visit-file)

Documentation

Visit the blob related to the current chunk.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-blame.el
(defun magit-blame-visit-file ()
  "Visit the blob related to the current chunk."
  (interactive)
  (with-slots (orig-rev orig-file orig-line)
      (magit-current-blame-chunk)
    (magit-with-toplevel
      (magit-find-file orig-rev orig-file))
    (goto-char (point-min))
    (forward-line (1- orig-line))))