Function: magit-insert-repo-header
magit-insert-repo-header is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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))))))