Variable: majutsu-evolog--commit-header-template
majutsu-evolog--commit-header-template is a variable defined in
majutsu-evolog.el.
Value
Large value
[:separate " "
[:coalesce
[:if [:commit :hidden]
[:label "hidden"
[:concat [:commit :change_id :shortest 8]
[:if [:commit :change_offset]
[:concat
[:label "change_offset" "/"]
[:commit :change_offset]]]]]]
[:if [:commit :divergent]
[:label "divergent"
[:concat [:commit :change_id :shortest 8]
[:if [:commit :change_offset]
[:concat
[:label "change_offset" "/"]
[:commit :change_offset]]]]]]
[:commit :change_id :shortest 8]]
[:coalesce [:commit :author :email]
[:label "email placeholder" "(no email set)"]]
[:commit :committer :timestamp :local :format
"%Y-%m-%d %H:%M:%S"]
[:commit :bookmarks] [:commit :tags]
[:commit :working_copies] [:commit :commit_id :shortest 8]
[:separate " "
[:coalesce
[:if [:commit :hidden]
[:label "hidden" "(hidden)"]]
[:if [:commit :divergent]
[:label "divergent" "(divergent)"]]]
[:if [:commit :conflict]
[:label "conflict" "(conflict)"]]]
[:if
[:method
[:call 'config "ui.show-cryptographic-signatures"]
:as_boolean]
[:call 'format_short_cryptographic_signature
[:commit :signature]]]]
Documentation
Template fragment equivalent to jj's format_short_commit_header(commit).
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-evolog.el
(defconst majutsu-evolog--commit-header-template
`[:separate " "
,majutsu-evolog--short-change-id-template
[:coalesce [:commit :author :email]
[:label "email placeholder" "(no email set)"]]
[:commit :committer :timestamp :local :format "%Y-%m-%d %H:%M:%S"]
[:commit :bookmarks]
[:commit :tags]
[:commit :working_copies]
[:commit :commit_id :shortest 8]
,majutsu-evolog--commit-labels-template
,majutsu-evolog--signature-template]
"Template fragment equivalent to jj's format_short_commit_header(commit).")