diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2024-06-06 15:29:21 -0700 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2024-06-07 09:15:15 +0800 |
commit | f9c2f2fa0fd92f94d6c20292f37d5302762cad66 (patch) | |
tree | a5dbae3c476b774c4d7e06db71355f6f0722fbf1 /BaseTools | |
parent | 71606314f80500ff0849f66553fad0da11bf4beb (diff) | |
download | edk2-f9c2f2fa0fd92f94d6c20292f37d5302762cad66.tar.gz edk2-f9c2f2fa0fd92f94d6c20292f37d5302762cad66.tar.bz2 edk2-f9c2f2fa0fd92f94d6c20292f37d5302762cad66.zip |
BaseTools/Scripts: Fix PatchCheck commit range
Fix logic error that changes the commit range checked depending
on the verbosity level set.
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools')
-rwxr-xr-x | BaseTools/Scripts/PatchCheck.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/BaseTools/Scripts/PatchCheck.py b/BaseTools/Scripts/PatchCheck.py index 762a1a89f9..d797ac80c1 100755 --- a/BaseTools/Scripts/PatchCheck.py +++ b/BaseTools/Scripts/PatchCheck.py @@ -684,8 +684,6 @@ class CheckGitCommits: def __init__(self, rev_spec, max_count):
dec_files = self.read_dec_files_from_git()
commits = self.read_commit_list_from_git(rev_spec, max_count)
- if len(commits) == 1 and Verbose.level > Verbose.ONELINE:
- commits = [ rev_spec ]
self.ok = True
blank_line = False
for commit in commits:
|