pub async fn recent_commits(cwd: &Path, limit: usize) -> Vec<CommitLogEntry>Expand description
Return the last limit commits reachable from HEAD for the current branch.
Each entry contains the SHA, commit timestamp (seconds), and subject line.
Returns an empty vector if not in a git repo or on error/timeout.