Function: magit-log-margin-width
magit-log-margin-width is a natively compiled function defined in
magit-log.el.
Signature
(magit-log-margin-width STYLE DETAILS DETAILS-WIDTH)
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-log.el
(defun magit-log-margin-width (style details details-width)
(if magit-log-margin-show-shortstat
16
(+ (if details (1+ details-width) 0)
(if (stringp style)
(length (format-time-string style))
(+ 2 ; two digits
1 ; trailing space
(if (eq style 'age-abbreviated)
1 ; single character
(+ 1 ; gap after digits
(apply #'max (mapcar (##max (length (nth 1 %))
(length (nth 2 %)))
magit--age-spec)))))))))