git_merge_bases

Find merge bases between two commits

Parameters

out_ libgit2_d.oidarray.git_oidarray*

array in which to store the resulting ids

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