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
107
107
// Fast-forward branch
108
108
NSString *message = [NSString stringWithFormat: @" merge %@ : Fast-forward" , branch.name];
109
109
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];
112
111
return checkoutSuccess;
113
112
} else if (analysis & GTMergeAnalysisNormal) {
114
113
// Do normal merge
@@ -164,7 +163,7 @@ - (BOOL)mergeBranchIntoCurrentBranch:(GTBranch *)branch withError:(NSError **)er
164
163
return NO ;
165
164
}
166
165
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];
168
167
return success;
169
168
}
170
169
You can’t perform that action at this time.
0 commit comments