Skip to main content

check_mergeable

Function check_mergeable 

Source
pub async fn check_mergeable(
    repo_dir: &Path,
    ours: &Oid,
    theirs: &Oid,
) -> Result<MergeCheckResult, GitError>
Expand description

Checks whether ours and theirs merge cleanly via git merge-tree --write-tree without touching any working tree.