Skip to content

Commit

Permalink
Repository.xs: git_merge_analysis() signature change
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesg committed Jun 8, 2014
1 parent 9145a2c commit 5fd5b26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xs/Repository.xs
Expand Up @@ -617,14 +617,15 @@ merge_analysis(self, ref)
int rc;

git_merge_head *merge_head;
git_merge_preference_t pref;
git_merge_analysis_t analysis;

AV *result;
CODE:
rc = git_merge_head_from_ref(&merge_head, self, ref);
git_check_error(rc);

rc = git_merge_analysis(&analysis,
rc = git_merge_analysis(&analysis, &pref,
self, (const git_merge_head **) &merge_head, 1);
git_merge_head_free(merge_head);
git_check_error(rc);
Expand Down

0 comments on commit 5fd5b26

Please sign in to comment.