Function: majutsu-ediff--working-copy-revision-p

majutsu-ediff--working-copy-revision-p is a natively compiled function defined in majutsu-ediff.el.

Signature

(majutsu-ediff--working-copy-revision-p REV)

Documentation

Return non-nil when REV resolves to the working copy change.

REV may be any revset accepted by jj.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-ediff.el
(defun majutsu-ediff--working-copy-revision-p (rev)
  "Return non-nil when REV resolves to the working copy change.
REV may be any revset accepted by jj."
  (let* ((working (majutsu-file--resolve-single-rev-info "@"))
         (target (majutsu-file--resolve-single-rev-info (or rev "@"))))
    (and working target
         (equal (plist-get working :change-id)
                (plist-get target :change-id)))))