Fix Git support for rename diffs.