Function: magit-rev-eq

magit-rev-eq is a natively 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 /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/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)))