pub async fn scan_commit(cwd: &Path, sha: &str) -> ScanOutcomeExpand description
Scan a single commit’s own diff (<sha>^..<sha>, or against the
empty tree for a parentless root commit) into per-file hunks. Never
surfaces untracked files - a commit’s diff is closed over its own
changes.