Commit 994404b5 by Edward Thomson

Don't allow conflicts by default

parent 091165c5
...@@ -2193,8 +2193,7 @@ static int merge_normalize_checkout_opts( ...@@ -2193,8 +2193,7 @@ static int merge_normalize_checkout_opts(
memcpy(checkout_opts, given_checkout_opts, sizeof(git_checkout_options)); memcpy(checkout_opts, given_checkout_opts, sizeof(git_checkout_options));
else { else {
git_checkout_options default_checkout_opts = GIT_CHECKOUT_OPTIONS_INIT; git_checkout_options default_checkout_opts = GIT_CHECKOUT_OPTIONS_INIT;
default_checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE | default_checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
GIT_CHECKOUT_ALLOW_CONFLICTS;
memcpy(checkout_opts, &default_checkout_opts, sizeof(git_checkout_options)); memcpy(checkout_opts, &default_checkout_opts, sizeof(git_checkout_options));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment