Skip to main content

parse_merge_list

Function parse_merge_list 

Source
pub fn parse_merge_list(log: &str) -> Vec<String>
Expand description

Parses git log --format="%H %P" output into the ids of commits with exactly two parents, preserving order.

Pure, so the format contract is testable without a repository — the same parse/shell-out split choir-queue’s corpus module uses.