mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-14 16:07:57 +00:00
example: drop SAFE_CREATE
from clone example
This commit is contained in:
parent
6c9e86adaf
commit
14fec0aea3
@ -82,7 +82,7 @@ int do_clone(git_repository *repo, int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Set up options
|
// 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_cb = checkout_progress;
|
||||||
checkout_opts.progress_payload = &pd;
|
checkout_opts.progress_payload = &pd;
|
||||||
clone_opts.checkout_opts = checkout_opts;
|
clone_opts.checkout_opts = checkout_opts;
|
||||||
|
Loading…
Reference in New Issue
Block a user