You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the above patch, ParsePatchHeader is failing with mail: missing @ in addr-spec. I completely understand that the email 59619111+dependabot[bot]@users.noreply.github.com is invalid, and the code for parsing logic belongs to net/mail package. Just wanted to post it hear anyways to hear your thoughts on it. Please close it as invalid if it's not worth your time. Thank you!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I'm guessing that git will accept this patch, but I'll need to test - if it does, then this library should accept it as well.
Git happily accepts this email format, so I consider this a bug in go-gitdiff. To fix it, I need to avoid the net/mail package for this parsing and use the existing ParsePatchIdentity function. But after reviewing how Git handles the From line, that function also needs some updates so the full fix here is more involved. I'll hopefully have something in the next few days.
Uh oh!
There was an error while loading. Please reload this page.
For the above patch,
ParsePatchHeader
is failing withmail: missing @ in addr-spec
. I completely understand that the email59619111+dependabot[bot]@users.noreply.github.com
is invalid, and the code for parsing logic belongs tonet/mail
package. Just wanted to post it hear anyways to hear your thoughts on it. Please close it as invalid if it's not worth your time. Thank you!The text was updated successfully, but these errors were encountered: