]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Scripts/PatchCheck.py
BaseTools/PatchCheck.py: Fix misreport for binary changes in patch
authorHao Wu <hao.a.wu@intel.com>
Thu, 8 Jun 2017 02:58:22 +0000 (10:58 +0800)
committerHao Wu <hao.a.wu@intel.com>
Mon, 26 Jun 2017 01:26:56 +0000 (09:26 +0800)
commitaab57eff5a9cdf841f1e92bb1282040987d94ff7
tree24dbf4d9288d36775c331672093e102031b3c0f6
parent16bad1fbaf897ecd93fb5046f4fed768ac12b6ff
BaseTools/PatchCheck.py: Fix misreport for binary changes in patch

For a patch file that:
1. Contains a binary change
2. Contains any other changes after the binary change

PatchCheck.py will complains with the following error:
* Patch format error: diff found after end of patch
   Line: literal XXXX

This commit resolves this misreport.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Scripts/PatchCheck.py