summaryrefslogtreecommitdiff
path: root/tests/clone
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-03 13:47:13 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-03 13:47:13 +0100
commit99b68a2aecfaa24f252f265d61b230b8e2576dd2 (patch)
treee54ed236c68b3d3cab3882634a0e6fb54f988617 /tests/clone
parent31bc6c044091c4d65f3a6fd7078beb260c210137 (diff)
parent496b76d415b080712d7648fc6f1ff2e55d27a6a5 (diff)
downloadlibgit2-99b68a2aecfaa24f252f265d61b230b8e2576dd2.tar.gz
Merge pull request #2908 from ethomson/safe_create
Allow checkout to handle newly cloned repositories, remove `GIT_CHECKOUT_SAFE_CREATE`
Diffstat (limited to 'tests/clone')
-rw-r--r--tests/clone/nonetwork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/clone/nonetwork.c b/tests/clone/nonetwork.c
index a0264b0d0..ac7c19212 100644
--- a/tests/clone/nonetwork.c
+++ b/tests/clone/nonetwork.c
@@ -22,7 +22,7 @@ void test_clone_nonetwork__initialize(void)
memset(&g_options, 0, sizeof(git_clone_options));
g_options.version = GIT_CLONE_OPTIONS_VERSION;
g_options.checkout_opts = dummy_opts;
- g_options.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE_CREATE;
+ g_options.checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
g_options.remote_callbacks = dummy_callbacks;
cl_git_pass(git_signature_now(&g_options.signature, "Me", "foo@example.com"));
}