pub fn git_merge_base(
repo_path: &Path,
a: &str,
b: &str,
) -> Result<Option<String>, RunError>Expand description
Find the merge base of two revisions in a git repository.
Returns Ok(None) when git reports no common ancestor (exit code 1 with
empty output), Ok(Some(sha)) when found, Err(_) for actual failures.