Function: magit-format-file-default

magit-format-file-default is a natively compiled function defined in magit-diff.el.

Signature

(magit-format-file-default KIND FILE FACE &optional STATUS ORIG)

Documentation

Show only the Git status and the filename.

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-diff.el
(defun magit-format-file-default (_kind file face &optional status orig)
  "Show only the Git status and the filename."
  (propertize (concat (and status (format "%-11s" status))
                      (if orig (format "%s -> %s" orig file) file))
              'font-lock-face face))