Function: magit-format-rev-summary
magit-format-rev-summary is a natively compiled function defined in
magit-git.el.
Signature
(magit-format-rev-summary REV)
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit-format-rev-summary (rev)
(and-let ((str (magit-rev-format "%h %s" rev)))
(progn
(magit--put-face 0 (string-match " " str) 'magit-hash str)
str)))