Skip to content
Commit c0328cf3 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by mergify[bot]
Browse files

BaseTools/PatchCheck.py: Check the patch author email address



To avoid patches committed with incorrect email address,
use the EmailAddressCheck class on the author email too.

Example:

  $ python BaseTools/Scripts/PatchCheck.py 1a049513
  Checking git commit: 1a049513
  The 'Author' email address is not valid:
  * The email address cannot contain a space: /o=Intel/ou=External \
    (FYDIBOHF25SPDLT)/cn=Recipients/cn=fe425ca7e5f4401abed22b904fe5d964

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: default avatarBob Feng <bob.c.feng@intel.com>
Signed-off-by: default avatarPhilippe Mathieu-Daude <philmd@redhat.com>
parent 8120390a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment