fix core.whitespace=cr-at-eol setting being ignored in diffs