summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-14 12:10:00 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-02-27 13:50:40 -0500
commit14fec0aea3b57bdf29ab7a195061127f8a3edc30 (patch)
tree818d5b4aa20247f3ab7e7bb2020ce0d95677f565
parent6c9e86adafa8cef6dfc685e8be58aeb257a9b63d (diff)
downloadlibgit2-14fec0aea3b57bdf29ab7a195061127f8a3edc30.tar.gz
example: drop `SAFE_CREATE` from clone example
-rw-r--r--examples/network/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 6144e217e..270bb68be 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;