pub fn scan_repo(repo: &Path, max: usize) -> Result<ScanReport, String>Expand description
Scans one repository’s merge history.
max caps the merges examined; 0 means all of them. One
cat-file --batch runs per merge, carrying every blob that merge
needs, which is what keeps a fifty-repository sweep to one subprocess
per merge rather than four per path.
§Errors
Git failing to run at all. A merge git cannot answer for is counted as a skip and the scan continues; a directory that is not a repository is an error.