pub fn process_diff_for_record( repo: &Repo, diff: &Diff<'_>, ) -> Result<Vec<File<'static>>>
Calculate the diff between the index and the working copy.