Skip to content

Commit d01a83e

Browse files
committed
tree: Handle skip_reuc flag
1 parent 83e48b4 commit d01a83e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/rugged/rugged_tree.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,10 @@ void rugged_parse_merge_options(git_merge_options *opts, VALUE rb_options)
620620
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("fail_on_conflict")))) {
621621
opts->tree_flags |= GIT_MERGE_TREE_FAIL_ON_CONFLICT;
622622
}
623+
624+
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("skip_reuc")))) {
625+
opts->tree_flags |= GIT_MERGE_TREE_SKIP_REUC;
626+
}
623627
}
624628
}
625629

0 commit comments

Comments
 (0)