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.
1 parent 7d4a1b1 commit 6435f82Copy full SHA for 6435f82
ObjectiveGit/GTRepository+Merging.m
@@ -238,6 +238,11 @@ - (BOOL)mergeBranchIntoCurrentBranch:(GTBranch *)branch withError:(NSError **)er
238
return NO;
239
}
240
241
+ success = [self cleanupStateWithError:error];
242
+ if (!success) {
243
+ return NO;
244
+ }
245
+
246
success = [self checkoutReference:localBranch.reference options:[GTCheckoutOptions checkoutOptionsWithStrategy:GTCheckoutStrategyForce] error:error];
247
return success;
248
0 commit comments