Drop the plan item from the mean's comment and say why with_fixes compares indices with >
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user