fix: count drift since the pin in profile triage

This commit is contained in:
Abdessamad Derraz committed 2026-10-17 10:31:48 +02:00
1 parent a9be4532af
commit 86043ed931
3 files changed
+67 -10

No files matched your search

+2 -1
View File
@@ -3367,7 +3367,8 @@ def _print_triage(args, selected: dict, reports: list[ProfileReport]) -> None:
paths = _cited_paths(report)
for path in paths[:TRIAGE_PATH_SAMPLE]:
commits += upstream.commits_touching(
repo, path, report.pin, args.cache_dir, args.offline
repo, path, report.pin, args.cache_dir, args.offline,
head=report.head,
)
if len(paths) > TRIAGE_PATH_SAMPLE:
print(