module documentation
Implementation of merge-base following the approach of git
Function | can |
Is it possible to fast-forward from c1 to c2? |
Function | find |
Find lowest common ancestors of commit_ids[0] and any of commits_ids[1:] |
Function | find |
Find lowest common ancestors of all provided commit_ids |
Function | _find |
Undocumented |
Is it possible to fast-forward from c1 to c2?
Parameters | |
repo | Repository to retrieve objects from |
c1 | Commit id for first commit |
c2 | Commit id for second commit |
Find lowest common ancestors of commit_ids[0] and any of commits_ids[1:]
Parameters | |
repo | Repository object |
commit | list of commit ids |
Returns | |
list of lowest common ancestor commit_ids |