From: Junio C Hamano Date: Fri, 04 Sep 2009 16:26:20 GMT Subject: Re: [PATCH 2/9] apply --whitespace=fix: detect new blank lines at eof correctly Message-ID: <7vpra6n0b7.fsf@alter.siamese.dyndns.org> In-Reply-To: <4AA101BB.7010206@viscovery.net> Johannes Sixt writes: > After reading this explanation, I was worried that added blank lines that > are at the end of a patch but apply in the middle of a file would be > mis-attributed as blank lines at EOF. The codepath this patch is about checks "does the hunk result in more blank at the end of the place it applies to?". There is a separate logic that checks "does the hunk applies at the end of the file", which is the topic of the codepath that is fixed by Patch #1.