Function: magit-blame--update-heading-overlay
magit-blame--update-heading-overlay is a byte-compiled function
defined in magit-blame.el.
Signature
(magit-blame--update-heading-overlay OV)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-blame.el
(defun magit-blame--update-heading-overlay (ov)
(overlay-put
ov 'before-string
(if-let ((format (magit-blame--style-get 'heading-format)))
;; Use `default' as the last face to avoid picking up any face
;; attributes from the first character of the text on which we
;; put the overlay. See #5233.
(magit-blame--format-string ov format '(magit-blame-heading default))
(and (magit-blame--style-get 'show-lines)
(or (not (magit-blame--style-get 'margin-format))
(save-excursion
(goto-char (overlay-start ov))
;; Special case of the special case described in
;; `magit-blame--make-margin-overlay'. For empty
;; lines it is not possible to show both overlays
;; without the line being too high.
(not (= (point) (line-end-position)))))
magit-blame-separator))))