Skip to content

Commit 4379a54

Browse files
committed
fixes for libgit2 api changes
1 parent 41217a0 commit 4379a54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/rugged/rugged_tree.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,15 +614,15 @@ void rugged_parse_merge_options(git_merge_options *opts, VALUE rb_options)
614614
}
615615

616616
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("renames")))) {
617-
opts->tree_flags |= GIT_MERGE_TREE_FIND_RENAMES;
617+
opts->flags |= GIT_MERGE_FIND_RENAMES;
618618
}
619619

620620
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("fail_on_conflict")))) {
621-
opts->tree_flags |= GIT_MERGE_TREE_FAIL_ON_CONFLICT;
621+
opts->flags |= GIT_MERGE_FAIL_ON_CONFLICT;
622622
}
623623

624624
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("skip_reuc")))) {
625-
opts->tree_flags |= GIT_MERGE_TREE_SKIP_REUC;
625+
opts->flags |= GIT_MERGE_SKIP_REUC;
626626
}
627627
}
628628
}

0 commit comments

Comments
 (0)