git_merge_base_many

Find a merge base given a list of commits

extern (C) nothrow @nogc
int
git_merge_base_many

Parameters

out_ libgit2_d.oid.git_oid*

the OID of a merge base considering all the commits

repo libgit2_d.types.git_repository*

the repository where the commits exist

length size_t

The number of commits in the provided input_array

input_array libgit2_d.oid.git_oid[]

oids of the commits

Return Value

Type: int

Zero on success; git_error_code.GIT_ENOTFOUND or -1 on failure.

Meta