Analyzes the given branch(es) and determines the opportunities for
merging them into a reference.
@param analysis_out analysis enumeration that the result is written into
@param repo the repository to merge
@param our_ref the reference to perform the analysis from
@param their_heads the heads to merge into
@param their_heads_len the number of heads to merge
@return 0 on success or error code
Analyzes the given branch(es) and determines the opportunities for merging them into a reference.
@param analysis_out analysis enumeration that the result is written into @param repo the repository to merge @param our_ref the reference to perform the analysis from @param their_heads the heads to merge into @param their_heads_len the number of heads to merge @return 0 on success or error code