Re: Issues with PatchCheck script


Rebecca Cran
 

On 11/10/20 6:01 AM, Laszlo Ersek wrote:
On 11/10/20 05:42, Sandeep Dhanvada wrote:
Hi Laszlo,

I am able to execute PatchCheck.py on a patch generated from git format-patch, but, could not execute this script with git commits i.e., using -1 or -2 as arguments to read git commits.
IIRC an explicit commit range should work. For example,

$ python3 BaseTools/Scripts/PatchCheck.py master..
Similarly, "python3 BaseTools/Scripts/PatchCheck.py HEAD~2" also works.


--
Rebecca Cran

Join discuss@edk2.groups.io to automatically receive all group messages.