Files
bluekeyes-go-gitdiff/gitdiff
George Dunlap b846b2cee0 Relax email header requirements (#20)
`git am` will accept patches which aren't fully RFC-compliant, as long
as they start with `From` and have a `Subject` line. Relax
ParsePatchHeader() so that it will accept such patches as well.

Specifically, it will tolerate patches of the form:

    From: <foo@company.com>

In this case, the `Author` field will contain `foo@company.com
<foo@company.com>`.  Duplicate this behavior.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Co-authored-by: George Dunlap <george.dunlap@citrix.com>
2020-10-31 16:00:50 -07:00
..
2020-01-25 16:57:23 -08:00