From 8e210931ca5d57b6ca7bc16b41598faa9339bc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 3 May 2012 20:25:56 +0200 Subject: remotes: change git_remote_new's signature Add a fetch refspec arguemnt and make the arguments (name, url, refspec), as that order makes more sense. --- examples/network/ls-remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/network/ls-remote.c') diff --git a/examples/network/ls-remote.c b/examples/network/ls-remote.c index 02d432e8b..958a88651 100644 --- a/examples/network/ls-remote.c +++ b/examples/network/ls-remote.c @@ -19,7 +19,7 @@ int use_unnamed(git_repository *repo, const char *url) // Create an instance of a remote from the URL. The transport to use // is detected from the URL - error = git_remote_new(&remote, repo, url, NULL); + error = git_remote_new(&remote, repo, NULL, url, NULL); if (error < GIT_SUCCESS) goto cleanup; -- cgit v1.2.1