Commit 14fec0aea3b57bdf29ab7a195061127f8a3edc30

Edward Thomson 2015-02-14T12:10:00

example: drop `SAFE_CREATE` from clone example

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 6144e21..270bb68 100644
--- a/examples/network/clone.c
+++ b/examples/network/clone.c
@@ -82,7 +82,7 @@ int do_clone(git_repository *repo, int argc, char **argv)
 	}
 
 	// Set up options
-	checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE_CREATE;
+	checkout_opts.checkout_strategy = GIT_CHECKOUT_SAFE;
 	checkout_opts.progress_cb = checkout_progress;
 	checkout_opts.progress_payload = &pd;
 	clone_opts.checkout_opts = checkout_opts;