Skip to main content

merge_log

Function merge_log 

Source
pub fn merge_log(repo: &Path, max: usize) -> Result<Vec<MergeCommit>, String>
Expand description

The merge commits on repo’s first-parent mainline, newest first.

max caps them; 0 means all of them.

§Errors

Git failing to run, or exiting nonzero.