]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Scripts/PatchCheck.py
BaseTools/PatchCheck.py: add exception for diff orderfile
authorLeif Lindholm <leif@nuviainc.com>
Thu, 2 Jul 2020 15:39:33 +0000 (23:39 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 3 Jul 2020 00:18:50 +0000 (00:18 +0000)
commitc267eb889fe1244840eb4fd067fe0d85e3cc271f
tree04ad864212f72a1e171e1816d117eda562206354
parent0622a7b1b203ad4ab1675533e958792fc1afc12b
BaseTools/PatchCheck.py: add exception for diff orderfile

SetupGit.py adds BaseTools/Conf/diff.order as a diff orderfile, but that
file currently has CRLF line endings, which causes all pattern matches
to fail and the ordering remaining unaffected.

Add an exception to PatchCheck.py (to the existing .gitmodules clause),
so that we can merge the fix to the config file.

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Scripts/PatchCheck.py