[PATCH] parser: Fix parsing of patches with a trailing no-newline marker

Jeremy Kerr jk at ozlabs.org
Mon Mar 23 00:42:56 AEDT 2015


Hi Michael,

> If a patch ends with a "No newline at end of file" marker, it is
> incorrectly considered part of the comment.
>
> Add a testcase which shows the bug, and then fix the parser. The parser
> fix is hopefully sufficiently specific so as to not break any other
> unrelated case. But ..

Looks good to me, thanks for the patch (and test!). Applied.

Cheers,


Jeremy



More information about the Patchwork mailing list