Skip to content

Commit cd76fc5

Browse files
committed
support new GIT_MERGE_NO_RECURSIVE option for merges
1 parent 4379a54 commit cd76fc5

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
@@ -624,6 +624,10 @@ void rugged_parse_merge_options(git_merge_options *opts, VALUE rb_options)
624624
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("skip_reuc")))) {
625625
opts->flags |= GIT_MERGE_SKIP_REUC;
626626
}
627+
628+
if (RTEST(rb_hash_aref(rb_options, CSTR2SYM("no_recursive")))) {
629+
opts->flags |= GIT_MERGE_NO_RECURSIVE;
630+
}
627631
}
628632
}
629633

0 commit comments

Comments
 (0)