diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 13:47:13 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2015-03-03 13:47:13 +0100 |
| commit | 99b68a2aecfaa24f252f265d61b230b8e2576dd2 (patch) | |
| tree | e54ed236c68b3d3cab3882634a0e6fb54f988617 /examples | |
| parent | 31bc6c044091c4d65f3a6fd7078beb260c210137 (diff) | |
| parent | 496b76d415b080712d7648fc6f1ff2e55d27a6a5 (diff) | |
| download | libgit2-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 'examples')
| -rw-r--r-- | examples/network/clone.c | 2 |
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; |
