Function: magit-blame--run

magit-blame--run is a byte-compiled function defined in magit-blame.el.

Signature

(magit-blame--run ARGS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-blame.el
;;; Process

(defun magit-blame--run (args)
  (magit-with-toplevel
    (unless magit-blame-mode
      (magit-blame-mode 1))
    (message "Blaming...")
    (magit-blame-run-process
     (and (not (equal magit-buffer-revision "{index}"))
          magit-buffer-revision)
     (magit-file-relative-name nil (not magit-buffer-file-name))
     (if (memq magit-blame-type '(final removal))
         (cons "--reverse" args)
       args)
     (list (line-number-at-pos (window-start))
           (line-number-at-pos (1- (window-end nil t)))))
    (set-process-sentinel magit-this-process
                          #'magit-blame-process-quickstart-sentinel)))