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 a078654 commit 1392d05Copy full SHA for 1392d05
ObjectiveGit/GTRepository.m
@@ -236,7 +236,7 @@ + (id)cloneFromURL:(NSURL *)originURL toWorkingDirectory:(NSURL *)workdirURL opt
236
237
if (withCheckout) {
238
git_checkout_options checkoutOptions = GIT_CHECKOUT_OPTIONS_INIT;
239
- checkoutOptions.checkout_strategy = GIT_CHECKOUT_SAFE_CREATE;
+ checkoutOptions.checkout_strategy = GIT_CHECKOUT_SAFE;
240
checkoutOptions.progress_cb = checkoutProgressCallback;
241
checkoutOptions.progress_payload = (__bridge void *)checkoutProgressBlock;
242
cloneOptions.checkout_opts = checkoutOptions;
0 commit comments