gix_revision

Module merge_base

Source
Available on crate feature merge_base only.
Expand description

Structs§

Enums§

Functions§

  • 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.