Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Working/relax email requirements #20

Merged
merged 2 commits into from
Oct 31, 2020

Commits on Oct 30, 2020

  1. Relax email format requirements

    `git am` will accept patches which aren't fully RFC-compliant, as long
    as they start with `From` and have a `Subject` line. Relax
    PatchPatchHeader() so that it will accept such patches as well.
    
    Signed-off-by: George Dunlap <[email protected]>
    George Dunlap committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    08d7d82 View commit details
    Browse the repository at this point in the history
  2. Tolerate email-only From lines in mail

    `git am` will tolerate patches of the form:
    
    ```
    From: <[email protected]>
    ```
    
    In this case, the `Author` field will contain `[email protected]
    <[email protected]>`.  Duplicate this behavior.
    
    Signed-off-by: George Dunlap <[email protected]>
    George Dunlap committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    20b2396 View commit details
    Browse the repository at this point in the history