pub(crate) fn normalize_diff(diff: &str) -> String
Normalize a git diff for dedup: drop the index <hash>..<hash> lines whose blob hashes are noise, so two textually identical changes compare equal.
git diff
index <hash>..<hash>