Re: [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:11
"Marco Costalba" [off-list ref] writes:
Signed-off-by: Marco Costalba <redacted> --- This one seems to pass all the tests.
I think this happens to work because you are not feeding -u0 patch; if you have more than one context, then a hunk that ends with + line is guaranteed to apply only at the end, With a diff prepared with -u0, that is not true anymore, is it? We can argue that -u0 patch is crazy but we do support them.