Function: magit-rev-eq

magit-rev-eq is a byte-compiled function defined in magit-git.el.

Signature

(magit-rev-eq A B)

Documentation

Return t if A and B refer to the same commit.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defun magit-rev-eq (a b)
  "Return t if A and B refer to the same commit."
  (and-let ((a (magit-commit-oid a t))
            (b (magit-commit-oid b t)))
    (equal a b)))