diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-01 10:33:35 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-12-01 10:39:04 -0500 |
commit | f93b1b246eb8c5cf324bd0a64e91cb6ef49451a8 (patch) | |
tree | 356621a85567157d3f89706fef86300ca6bfbfd2 | |
parent | 2f37e6f8e1401c7976f1f5f48bea404fe0e46af0 (diff) | |
download | b4-f93b1b246eb8c5cf324bd0a64e91cb6ef49451a8.tar.gz |
Fix b4 ty auto-matching
When I changed auto_locate_series to return the exact patch number in
addition to the matching commit_id, I introduced an off-by-one that
caused all tracked series to start matching.
Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/ty.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -375,7 +375,7 @@ def auto_thankanator(cmdargs): # Weed out series that have no matches at all found = False for commit in commits: - if commit[0] is not None: + if commit[1] is not None: found = True break if not found: |