Analyzes the given branch(es) and determines the opportunities for
merging them into the HEAD of the repository.
@param analysis_out analysis enumeration that the result is written into
@param repo the repository to merge
@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 the HEAD of the repository.
@param analysis_out analysis enumeration that the result is written into @param repo the repository to merge @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