find_duplicate_divergent_commits

Function find_duplicate_divergent_commits 

Source
pub fn find_duplicate_divergent_commits(
    repo: &dyn Repo,
    new_parent_ids: &[CommitId],
    target: &MoveCommitsTarget,
) -> BackendResult<Vec<Commit>>
Expand description

Find divergent commits from the target that are already present with identical contents in the destination. These commits should be able to be safely abandoned.