]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/PatchCheck.py: Ignore CR and LF characters in subject length
authorPhilippe Mathieu-Daud? <philmd@redhat.com>
Thu, 2 Jan 2020 12:16:56 +0000 (20:16 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 9 Jan 2020 06:09:33 +0000 (06:09 +0000)
commit2649a735b249e54a4ddd7bd2b8d62bfe77e8d6da
treee736533d8c487241b45bf665e1b02a572610d372
parent972d88726410e21b1fff1a528854202c67e97ef1
BaseTools/PatchCheck.py: Ignore CR and LF characters in subject length

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=113

Strip the trailing characters before checking the subject line is
less than 72 characters.

Fixes: e61406708c83f
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
BaseTools/Scripts/PatchCheck.py