Skip to main content

collect_commits

Function collect_commits 

Source
fn collect_commits(
    repo: &Repository,
    tip: ObjectId,
    max: usize,
    ref_labels: &HashMap<String, Vec<RefBadge>>,
) -> Result<Vec<CommitInfo>>
Expand description

Walk at most max commits reachable from tip, newest first.