Function: magit-format-rev-summary

magit-format-rev-summary is a byte-compiled function defined in magit-git.el.

Signature

(magit-format-rev-summary REV)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/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)))