Function: magit-insert-repo-header

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

Signature

(magit-insert-repo-header)

Documentation

Insert a header line showing the path to the repository top-level.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-status.el
(defun magit-insert-repo-header ()
  "Insert a header line showing the path to the repository top-level."
  (let ((topdir (magit-toplevel)))
    (magit-insert-section (repo topdir)
      (insert (format "%-10s%s\n" "Repo: " (abbreviate-file-name topdir))))))