Module merge_base

Source
Available on crate feature merge_base only.
Expand description

Structs§

Flags
The flags used in the graph for finding merge bases.

Enums§

Error
The error returned by the merge_base() function.

Functions§

octopus
Given a commit at first id, traverse the commit graph and return the best common ancestor between it and others, sorted from best to worst. Returns None if there is no common merge-base as first and others don’t all share history. If others is empty, Some(first) is returned.