Skip to content

Applying patches with hunks followed by contents fails #156

@DavideRossi

Description

@DavideRossi

In short, java-diff-utils assumes that a hunk is a line on its own.
I'm parsing the output of git log -p that produces "inline" hunks like that:
@@ -4,6 +4,9 @@ import com.github.javaparser.JavaParser;
and that is not supported. I have no idea that format is OK with the unidiff specifications but the change to support that hunk format seems minimal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions