pub async fn fetch_diff_stat(
dir: &str,
base_branch: &str,
) -> Option<DiffSummary>Expand description
Fetch lightweight diff statistics between base branch and HEAD
Runs git diff --shortstat <base>...HEAD and parses the output.
Returns None if the command fails or no diff exists.