pub fn summarize_diff_for_temporary_commit(diff: &Diff<'_>) -> Result<String>
Summarize a diff for use as part of a temporary commit message.