Subject: bug#28434: 25.2; Final "\ No newline at end of file" breaks Emacs patch handling.

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 23 Aug 2022 11:36:15 +0200

Oleksandr Gavenko <[email-masked]> writes:

> It happens with a lot of tools (diff/hg/git). If file doesn't end on new line
> diff file has:
>
>   \ No newline at end of file
>
> C-c C-c (diff-goto-source) on that hunk says:
>
>   Hunk text not found
>
> C-c C-a (diff-apply-hunk) says:
>
>   diff-apply-hunk: Can’t find the text to patch

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This has been fixed in Emacs 28.1, as far as I can tell.