pub fn is_ancestor<P: AsRef<Path>>( repo_path: P, ancestor: &str, descendant: &str, ) -> Result<bool, GitError>
Check if one commit is an ancestor of another.