Integrated: vcs: fix hunk line parsing in UnifiedDiffParser
Erik Helin
ehelin at openjdk.java.net
Wed Oct 21 10:31:45 UTC 2020
On Wed, 21 Oct 2020 10:07:06 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
>
> please review this patch that fixes the parsing in `UnifiedDiffParser.parseSingleFileDiff` a bit. The parser now understands Git's extended headers and also properly moves past a hunk start lines (lines starting with `@@`).
>
> Testing:
> - [x] Added a new unit test
>
> Thanks,
> Erik
This pull request has now been integrated.
Changeset: 90b785a1
Author: Erik Helin <ehelin at openjdk.org>
URL: https://git.openjdk.java.net/skara/commit/90b785a1
Stats: 425 lines in 2 files changed: 423 ins; 0 del; 2 mod
vcs: fix hunk line parsing in UnifiedDiffParser
Reviewed-by: rwestberg
-------------
PR: https://git.openjdk.java.net/skara/pull/897
More information about the skara-dev
mailing list