Johannes Sixt [off-list ref] 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.