Function: majutsu-evolog-diff-refresh-buffer
majutsu-evolog-diff-refresh-buffer is an interactive and natively
compiled function defined in majutsu-evolog.el.
Signature
(majutsu-evolog-diff-refresh-buffer)
Documentation
Refresh the current evolog inter-diff buffer.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-evolog.el
(defun majutsu-evolog-diff-refresh-buffer ()
"Refresh the current evolog inter-diff buffer."
(interactive)
(majutsu--assert-mode 'majutsu-evolog-diff-mode)
(let* ((commit-id (majutsu-evolog--validate-commit-id
majutsu-evolog-diff--commit-id))
(majutsu-jj-global-arguments
(cons "--color=never"
(seq-remove (lambda (arg)
(string-prefix-p "--color" arg))
majutsu-jj-global-arguments)))
(majutsu-process-apply-ansi-colors nil))
(majutsu-diff--set-left-margin 0)
(magit-insert-section (jj-evolog-diff commit-id)
(magit-insert-heading (format "Evolution Diff %s" commit-id))
(let ((beg (point)))
(magit-insert-section (diff-root)
(apply #'majutsu-jj-wash
#'majutsu-evolog--wash-inter-diff
nil
(majutsu-evolog--inter-diff-command-args commit-id)))
(when (= beg (point))
(insert "No patch\n"))))))