Drop the plan item from the mean's comment and say why with_fixes compares indices with >

This commit is contained in:
2026-10-28 22:50:36 +01:00
parent ae29817dae
commit 115b8a394f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ def with_fixes(branch: Branch, shipped: list[tuple[Item, ...]], traced: list[Tra
fixed: dict[int, set[int]] = {}
for change in traced:
for commit in change.commits:
# Blame at a commit on the branch should name only commits its log holds; any other counts against no chunk.
# Blame at a commit on the branch should name only commits its log holds; any other counts against no chunk. Chunks run newest first, so > keeps the chunks older than the fixing one.
if commit in branch.owner and branch.owner[commit] > change.chunk:
fixed.setdefault(branch.owner[commit], set()).add(change.chunk)
chunks = []