Function: magit-insert-status-headers

magit-insert-status-headers is a byte-compiled function defined in magit-status.el.

Signature

(magit-insert-status-headers)

Documentation

Insert header sections appropriate for magit-status-mode buffers.

The sections are inserted by running the functions on the hook magit-status-headers-hook.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-status.el
;;; Sections
;;;; Special Headers

(defun magit-insert-status-headers ()
  "Insert header sections appropriate for `magit-status-mode' buffers.
The sections are inserted by running the functions on the hook
`magit-status-headers-hook'."
  (if (magit-rev-verify "HEAD")
      (magit-insert-headers 'magit-status-headers-hook)
    (insert "In the beginning there was darkness\n\n")))