Skip to main content

Module main_branches

Module main_branches 

Source
Expand description

Detection of remote main-branch tips and commit containment.

Structs§

MainBranchTip
A resolved remote main branch: display name plus the commit it points at.

Functions§

branches_containing
Returns the display names of the given main branches that contain commit_oid (the commit is the branch tip or an ancestor of it).
detect_main_branch_tips
Resolves the main-branch tip for every remote, using only local refs.