Make "diff --check" output match "git apply"