We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15cd2a7 + 15c464e commit d6ae2deCopy full SHA for d6ae2de
ObjectiveGit/GTRepository+Merging.m
@@ -139,7 +139,7 @@ - (BOOL)mergeBranchIntoCurrentBranch:(GTBranch *)branch withError:(NSError **)er
139
// Write conflicts
140
git_merge_options merge_opts = GIT_MERGE_OPTIONS_INIT;
141
git_checkout_options checkout_opts = GIT_CHECKOUT_OPTIONS_INIT;
142
- checkout_opts.checkout_strategy = GIT_CHECKOUT_ALLOW_CONFLICTS;
+ checkout_opts.checkout_strategy = (GIT_CHECKOUT_SAFE | GIT_CHECKOUT_ALLOW_CONFLICTS);
143
144
git_annotated_commit *annotatedCommit;
145
[self annotatedCommit:&annotatedCommit fromCommit:remoteCommit error:error];
0 commit comments