Skip to main content

parse_merges

Function parse_merges 

Source
pub fn parse_merges(log: &str) -> Vec<MergeCommit>
Expand description

Parses git log --merges MERGE_LOG_FORMAT output.

Records with no parents, or unparseable framing, are dropped rather than erroring: a corpus is not a wire format, and one malformed record must not cost the other ten thousand.