pub async fn is_ancestor( repo_dir: &Path, ancestor: &Oid, descendant: &Oid, ) -> Result<bool, GitError>
Returns true if ancestor is an ancestor of descendant (git merge-base --is-ancestor).
true
ancestor
descendant
git merge-base --is-ancestor