Variable: majutsu-evolog--commit-compact-template
majutsu-evolog--commit-compact-template is a variable defined in
majutsu-evolog.el.
Value
Large value
[:if [:commit :root]
[:label "immutable"
[:concat
[:separate " " [:commit :change_id :shortest 8]
[:label "root" "root()"]
[:commit :commit_id :shortest 8]
[:commit :bookmarks]]
"\n"]]
[:label
[:separate " "
[:if [:commit :current_working_copy] "working_copy"]
[:if [:commit :immutable] "immutable" "mutable"]
[:if [:commit :conflict] "conflicted"]]
[:concat
[: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]]]]
"\n"
[:separate " "
[:if [:commit :empty] [:label "empty" "(empty)"]]
[:if [:commit :description]
[:commit :description :first_line]
[:label [:if [:commit :empty] "empty"]
[:label "description placeholder"
"(no description set)"]]]]
"\n"]]]
Documentation
Template fragment equivalent to compact log for one evolog commit.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-evolog.el
(defconst majutsu-evolog--commit-compact-template
`[:if [:commit :root]
[:label "immutable"
[:concat
[:separate " "
[:commit :change_id :shortest 8]
[:label "root" "root()"]
[:commit :commit_id :shortest 8]
[:commit :bookmarks]]
"\n"]]
[:label
[:separate " "
[:if [:commit :current_working_copy] "working_copy"]
[:if [:commit :immutable] "immutable" "mutable"]
[:if [:commit :conflict] "conflicted"]]
[:concat ,majutsu-evolog--commit-header-template
"\n"
,majutsu-evolog--description-template
"\n"]]]
"Template fragment equivalent to compact log for one evolog commit.")