Variable: magit-revision-headers-format
magit-revision-headers-format is a customizable variable defined in
magit-diff.el.
Value
"Author: %aN <%aE>\nAuthorDate: %ad\nCommit: %cN <%cE>\nCommitDate: %cd\n"
Documentation
Format string used to insert headers in revision buffers.
All headers in revision buffers are inserted by the section
inserter magit-insert-revision-headers. Some of the headers
are created by calling git show --format=FORMAT where FORMAT
is the format specified here. Other headers are hard coded or
subject to option magit-revision-insert-related-refs.
This variable was added, or its default value changed, in magit version 2.3.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-diff.el
(defcustom magit-revision-headers-format "\
Author: %aN <%aE>
AuthorDate: %ad
Commit: %cN <%cE>
CommitDate: %cd
"
"Format string used to insert headers in revision buffers.
All headers in revision buffers are inserted by the section
inserter `magit-insert-revision-headers'. Some of the headers
are created by calling `git show --format=FORMAT' where FORMAT
is the format specified here. Other headers are hard coded or
subject to option `magit-revision-insert-related-refs'."
:package-version '(magit . "2.3.0")
:group 'magit-revision
:type 'string)