diff options
| author | Vicent Marti <vicent@github.com> | 2014-04-01 13:47:44 +0200 |
|---|---|---|
| committer | Vicent Marti <vicent@github.com> | 2014-04-01 13:47:44 +0200 |
| commit | 9325460a9360516c10e1d79f5b85882d84725e29 (patch) | |
| tree | 01500fa0788d45dc41f24006b2e43feec6df461d /include | |
| parent | 3ab57816015f59e9741017f866d3d87a4651b54f (diff) | |
| parent | fd536d29c127648abb2ce5f6f619135ce69b9800 (diff) | |
| download | libgit2-9325460a9360516c10e1d79f5b85882d84725e29.tar.gz | |
Merge pull request #2206 from libgit2/cmn/inmemory-swap-order
Rename in-memory remote to anonymous and swap url and fetch order
Diffstat (limited to 'include')
| -rw-r--r-- | include/git2/remote.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 82a46acd1..d57321f03 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -62,10 +62,10 @@ GIT_EXTERN(int) git_remote_create_with_fetchspec( const char *fetch); /** - * Create a remote in memory + * Create an anonymous remote * - * Create a remote with the given refspec in memory. You can use - * this when you have a URL instead of a remote's name. Note that in-memory + * Create a remote with the given url and refspec in memory. You can use + * this when you have a URL instead of a remote's name. Note that anonymous * remotes cannot be converted to persisted remotes. * * The name, when provided, will be checked for validity. @@ -73,15 +73,15 @@ GIT_EXTERN(int) git_remote_create_with_fetchspec( * * @param out pointer to the new remote object * @param repo the associated repository - * @param fetch the fetch refspec to use for this remote. * @param url the remote repository's URL + * @param fetch the fetch refspec to use for this remote. * @return 0 or an error code */ -GIT_EXTERN(int) git_remote_create_inmemory( +GIT_EXTERN(int) git_remote_create_anonymous( git_remote **out, git_repository *repo, - const char *fetch, - const char *url); + const char *url, + const char *fetch); /** * Get the information for a particular remote |
