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:33:35 -0500 |
commit | 38a8de5510da52765cf81348a1137d91b42d3088 (patch) | |
tree | 56e450f425499e10f3e1a621245b36d89b6661c9 | |
parent | 45c63bd0fd80fb59ef5b75a305890338c507d3fa (diff) | |
download | b4-38a8de5510da52765cf81348a1137d91b42d3088.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: |