Function: magit-sequence-insert-commit

magit-sequence-insert-commit is a natively compiled function defined in magit-sequence.el.

Signature

(magit-sequence-insert-commit TYPE HASH FACE &optional ABBREV MSG)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-sequence.el
(defun magit-sequence-insert-commit (type hash face &optional abbrev msg)
  (magit-insert-section (commit hash)
    (magit-insert-heading
      (magit--propertize-face type face) " "
      (if abbrev
          (concat (magit--propertize-face abbrev 'magit-hash) " " msg "\n")
        (concat (magit-format-rev-summary hash) "\n")))))