Skip to content

Add options to ParsePatchHeader #33

Closed
@bluekeyes

Description

@bluekeyes

By default, for email formatted patches, ParsePatchHeader will remove all content in square brackets and place it in a separate field. This matches the default behavior of git, but git also includes flags to disable cleaning completely or to only remove content in square brackets that contains the word PATCH.

It should be a backwards-compatible change to have ParsePatchHeader accept option functions that can disable the default behavior or switch to only removing [PATCH] content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    parsingIssues related to parsing patches

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions