git_merge_base

Find a merge base between two commits

Parameters

out_ libgit2_d.oid.git_oid*

the OID of a merge base between 'one' and 'two'

repo libgit2_d.types.git_repository*

the repository where the commits exist

one const(libgit2_d.oid.git_oid)*

one of the commits

two const(libgit2_d.oid.git_oid)*

the other commit

Return Value

Type: int

0 on success, git_error_code.GIT_ENOTFOUND if not found or error code

Meta