Skip to content

Commit 9de6ec5

Browse files
author
Vicent Marti
committed
Merge pull request libgit2#2477 from ethomson/merge
Don't allow conflicts by default
2 parents 243db06 + 994404b commit 9de6ec5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/merge.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2193,8 +2193,7 @@ static int merge_normalize_checkout_opts(
21932193
memcpy(checkout_opts, given_checkout_opts, sizeof(git_checkout_options));
21942194
else {
21952195
git_checkout_options default_checkout_opts = GIT_CHECKOUT_OPTIONS_INIT;
2196-
default_checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE |
2197-
GIT_CHECKOUT_ALLOW_CONFLICTS;
2196+
default_checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
21982197

21992198
memcpy(checkout_opts, &default_checkout_opts, sizeof(git_checkout_options));
22002199
}

0 commit comments

Comments
 (0)