From: Junio C Hamano Date: Sun, 20 May 2007 10:03:20 GMT Subject: Re: [PATCH] Teach 'git-apply --whitespace=strip' to remove empty lines at the end of file Message-ID: <7vabvzq0bb.fsf@assigned-by-dhcp.cox.net> In-Reply-To: "Marco Costalba" writes: > Signed-off-by: Marco Costalba > --- > > 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.