mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-13 06:19:06 +00:00
Examples: fix clone api
This commit is contained in:
parent
bac695b58c
commit
3f63cc9e6d
@ -72,7 +72,7 @@ int do_clone(git_repository *repo, int argc, char **argv)
|
||||
checkout_opts.progress_payload = &pd;
|
||||
|
||||
// Do the clone
|
||||
error = git_clone(&cloned_repo, url, path, &fetch_progress, &pd, &checkout_opts);
|
||||
error = git_clone(&cloned_repo, url, path, &checkout_opts, &fetch_progress, &pd);
|
||||
printf("\n");
|
||||
if (error != 0) {
|
||||
const git_error *err = giterr_last();
|
||||
|
Loading…
Reference in New Issue
Block a user