Commit 3f63cc9e6d7674d1499a4f8f0e4db9eba385c864

Ben Straub 2012-11-18T22:20:47

Examples: fix clone api

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 30a4944..a718f30 100644
--- a/examples/network/clone.c
+++ b/examples/network/clone.c
@@ -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();