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 b5bf9e0 commit 17aaeddCopy full SHA for 17aaedd
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