Skip to content

Unified patches from git do not parse correctly #33

@nbransby

Description

@nbransby

Expected Behavior

Unified patches from git to parse correctly

Actual Behavior

The git diffs contain extra context after the chunk header @@ suffix (I think its the closest line above the chunk with a '{') but the regex in the parser ends with @@$, expecting @@ to the last thing on the line

Steps to Reproduce the Problem

  1. create a patch file with git diff
  2. note the line in the chunk header
  3. attempt to parse with java-diff-utils

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions