Skip to content

Incorrect parsing of isBinary #35

@jclem

Description

@jclem

This shows a diff of a binary file:

$ git diff
diff --git c/image.png w/image.png
index 9be2f56..f30aa31 100644
Binary files c/image.png and w/image.png differ

Note that the first line says "diff --git", which means that gitdiff-parser treats this as a normal file. The "Binary" prefix isn't until later.

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