File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,7 @@ - (BOOL)mergeBranchIntoCurrentBranch:(GTBranch *)branch withError:(NSError **)er
107107 // Fast-forward branch
108108 NSString *message = [NSString stringWithFormat: @" merge %@ : Fast-forward" , branch.name];
109109 GTReference *reference = [localBranch.reference referenceByUpdatingTarget: remoteCommit.SHA message: message error: error];
110- BOOL checkoutSuccess = [self checkoutReference: reference strategy: GTCheckoutStrategyForce error: error progressBlock: nil ];
111-
110+ BOOL checkoutSuccess = [self checkoutReference: reference options: [GTCheckoutOptions checkoutOptionsWithStrategy: GTCheckoutStrategyForce] error: error];
112111 return checkoutSuccess;
113112 } else if (analysis & GTMergeAnalysisNormal) {
114113 // Do normal merge
@@ -164,7 +163,7 @@ - (BOOL)mergeBranchIntoCurrentBranch:(GTBranch *)branch withError:(NSError **)er
164163 return NO ;
165164 }
166165
167- BOOL success = [self checkoutReference: localBranch.reference strategy: GTCheckoutStrategyForce error: error progressBlock: nil ];
166+ BOOL success = [self checkoutReference: localBranch.reference options: [GTCheckoutOptions checkoutOptionsWithStrategy: GTCheckoutStrategyForce] error: error];
168167 return success;
169168 }
170169
You can’t perform that action at this time.
0 commit comments