Closed
Description
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.