git_merge_analysis_for_ref

Analyzes the given branch(es) and determines the opportunities for merging them into a reference.

Parameters

analysis_out .git_merge_analysis_t*

analysis enumeration that the result is written into

repo libgit2_d.types.git_repository*

the repository to merge

our_ref libgit2_d.types.git_reference*

the reference to perform the analysis from

their_heads const(libgit2_d.types.git_annotated_commit)**

the heads to merge into

their_heads_len size_t

the number of heads to merge

Return Value

Type: int

0 on success or error code

Meta