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>
This commit is contained in:
Michael D Kinney 2024-06-06 15:29:21 -07:00 committed by Liming Gao
parent 71606314f8
commit f9c2f2fa0f

View File

@ -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: