ep: Allow matching patches against files without trailing newlines (#46357)

A proper fix would be to add `\No trailing newline` marker and handle
it. For now, we do a simpler workaround

Release Notes:

- N/A
a87d4c84c9Oleksiy Syvokon committed on 1/8/2026, 11:54:26 AM· committed by GitHubparent464a550
1 file changedLine totals unavailable