pub async fn scan_commits(cwd: &Path, target: &str) -> Vec<CommitMeta>Expand description
List the commits in <target>..HEAD, oldest first, for the diff
overlay’s commit stepper. Empty when the range has no commits
(dirty-tree-only review, /diff HEAD, or target unresolvable).