Analyzes the given branch(es) and determines the opportunities for
merging them into a reference.
int git_merge_analysis_for_ref(git_merge_analysis_t *analysis_out, git_merge_preference_t *preference_out, git_repository *repo, git_reference *our_ref, const git_annotated_commit **their_heads, size_t their_heads_len);
In
analysis_out
analysis enumeration that the result is written into
In
our_ref
the reference to perform the analysis from
size_t
In
their_heads_len
the number of heads to merge
int
0 on success or error code