Skip to content

Support empty patches #45

Closed
Closed
@neurosnap

Description

@neurosnap

Hi!

We are using this lib over at https://pr.pico.sh and so far haven't had any issues. So thank you for your hard work!

We are trying to support cover letters in our patch request workflow, but it looks like since the patch itself is empty, go-gitdiff skips over it and returns empty header data. Ideally this lib would still process the empty patch even if there aren't any diffs in it.

I'm curious what you think about adding support for empty patches?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions