Function: magit-rev-ancestor-p
magit-rev-ancestor-p is a natively compiled function defined in
magit-git.el.
Signature
(magit-rev-ancestor-p A B)
Documentation
Return non-nil if commit A is an ancestor of commit B.
Source Code
;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-git.el
(defun magit-rev-ancestor-p (a b)
"Return non-nil if commit A is an ancestor of commit B."
(magit-git-success "merge-base" "--is-ancestor" a b))