Function: magit-refs--maybe-format-margin

magit-refs--maybe-format-margin is a natively compiled function defined in magit-refs.el.

Signature

(magit-refs--maybe-format-margin REV)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-refs.el
(defun magit-refs--maybe-format-margin (rev)
  (when (magit--right-margin-active)
    (if-let ((line (magit-rev-format "%cN%x00%ct" rev)))
        (apply #'magit-log-format-margin rev (split-string line "\0"))
      (magit-make-margin-overlay))))