summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
committerBen Straub <bs@github.com>2013-01-02 12:44:47 -0800
commit0642c1431eccdf7aef496c0dc6d64805c513db53 (patch)
treec9471e1cc2f0540b0c4b0621d48fa323e683b008 /include/git2/remote.h
parent3de2256708a206bc01bca0fe418b8448d1b41855 (diff)
downloadlibgit2-0642c1431eccdf7aef496c0dc6d64805c513db53.tar.gz
Move `url` to last place in parameter list
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 29bda796d..5f6a78097 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -61,15 +61,15 @@ GIT_EXTERN(int) git_remote_create(
*
* @param out pointer to the new remote object
* @param repo the associated repository. May be NULL for a "dangling" remote.
- * @param url the remote repository's URL
* @param fetch the fetch refspec to use for this remote. May be NULL for defaults.
+ * @param url the remote repository's URL
* @return 0 or an error code
*/
GIT_EXTERN(int) git_remote_create_inmemory(
git_remote **out,
git_repository *repo,
- const char *url,
- const char *fetch);
+ const char *fetch,
+ const char *url);
/**
* Sets the owning repository for the remote. This is only allowed on