Commit 994404b5067f9cc35dfae2c460e209f30467c3b5

Edward Thomson 2014-07-17T01:25:31

Don't allow conflicts by default

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/merge.c b/src/merge.c
index f8d008a..668ac2c 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -2193,8 +2193,7 @@ static int merge_normalize_checkout_opts(
 		memcpy(checkout_opts, given_checkout_opts, sizeof(git_checkout_options));
 	else {
 		git_checkout_options default_checkout_opts = GIT_CHECKOUT_OPTIONS_INIT;
-		default_checkout_opts.checkout_strategy =  GIT_CHECKOUT_SAFE |
-			GIT_CHECKOUT_ALLOW_CONFLICTS;
+		default_checkout_opts.checkout_strategy =  GIT_CHECKOUT_SAFE;
 
 		memcpy(checkout_opts, &default_checkout_opts, sizeof(git_checkout_options));
 	}