Function: vc-jj--expanded-log-entry
vc-jj--expanded-log-entry is a natively compiled function defined in
vc-jj.el.
Signature
(vc-jj--expanded-log-entry REVISION)
Documentation
Return a string of the commit details of REVISION.
Called by log-view-toggle-entry-display in a JJ Log View buffer.
Source Code
;; Defined in /nix/store/j1ql1qsv99iszr5pqf5fk9yfcl5pq4nv-emacs-packages-deps/share/emacs/site-lisp/elpa/vc-jj-0.5/vc-jj.el
(defun vc-jj--expanded-log-entry (revision)
"Return a string of the commit details of REVISION.
Called by `log-view-toggle-entry-display' in a JJ Log View buffer."
(with-temp-buffer
(vc-jj--command-dispatched
t 0 nil "log"
;; REVISION may be divergent (i.e., several revisions with the
;; same change ID). In those cases, we opt to avoid jj erroring
;; via "-r change_id(REVISION)" and show only all the divergent
;; commits. This is preferable to confusing or misinforming the
;; user by showing only some of the divergent commits.
"-r" (format "change_id(%s)" revision)
"--no-graph" "-T" "builtin_log_detailed")
(buffer-string)))