pub fn merge_log(repo: &Path, max: usize) -> Result<Vec<MergeCommit>, String>
The merge commits on repo’s first-parent mainline, newest first.
repo
max caps them; 0 means all of them.
max
Git failing to run, or exiting nonzero.