Function: vc-jj-annotate-command
vc-jj-annotate-command is a natively compiled function defined in
vc-jj.el.
Signature
(vc-jj-annotate-command FILE BUF &optional REV)
Documentation
Fill BUF with per-line change history of FILE at REV.
Source Code
;; Defined in /nix/store/j1ql1qsv99iszr5pqf5fk9yfcl5pq4nv-emacs-packages-deps/share/emacs/site-lisp/elpa/vc-jj-0.5/vc-jj.el
;;;; annotate-command
(defun vc-jj-annotate-command (file buf &optional rev)
"Fill BUF with per-line change history of FILE at REV."
(let ((rev (or rev "@"))
(file (file-relative-name file)))
;; Contrary to most other jj commands, 'jj file annotate' takes a
;; path instead of a fileset expression, so we append FILE to the
;; unprocessed argument list here.
(apply #'vc-jj--command-dispatched buf 'async nil "file" "annotate"
(append (vc-switches 'jj 'annotate)
(list "-r" rev file)))))