pub fn diff_commits_with_renames(
odb: &Odb,
base: &ObjectId,
tip: &ObjectId,
rename_threshold: u32,
) -> Result<Vec<DiffEntry>>Expand description
Diff the trees at two commits and pair deleted/added paths as renames when similar enough.
rename_threshold is Git’s -M percentage (0–100, inclusive). Use
RENAME_DETECTION_DISABLED to skip rename detection.
§Errors
Propagates object read errors and tree diff failures.