Available on crate feature
merge_base
only.Expand description
Structs§
- The flags used in the graph for finding merge bases.
Enums§
- The error returned by the
merge_base()
function.
Functions§
- Given a commit at
first
id, traverse the commitgraph
and return the best common ancestor between it andothers
, sorted from best to worst. ReturnsNone
if there is no common merge-base asfirst
andothers
don’t all share history. Ifothers
is empty,Some(first)
is returned.