diff options
author | Victor Garcia <victor@tuenti.com> | 2013-11-07 16:22:49 +0100 |
---|---|---|
committer | Victor Garcia <victor@tuenti.com> | 2013-11-07 16:22:49 +0100 |
commit | 99feb98897fa1daa0ff3fd70b17ccc9d9a51f1d0 (patch) | |
tree | a0993987627260ff9f81762ebb98b89ee82a9128 /include/git2/remote.h | |
parent | 0fe522d1057aef064084a22d116f7c225948a3bd (diff) | |
download | libgit2-99feb98897fa1daa0ff3fd70b17ccc9d9a51f1d0.tar.gz |
adding doc for new param and test to check fetch spec is correctly added
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 07102594e..f5e6f5aeb 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -27,13 +27,15 @@ GIT_BEGIN_DECL typedef int (*git_remote_rename_problem_cb)(const char *problematic_refspec, void *payload); /** - * Add a remote with the default fetch refspec to the repository's configuration. This + * Add a remote with the provided fetch refspec (or default if NULL) to the repository's + * configuration. This * calls git_remote_save before returning. * * @param out the resulting remote * @param repo the repository in which to create the remote * @param name the remote's name * @param url the remote's url + * @param fetch the remote fetch value * @return 0, GIT_EINVALIDSPEC, GIT_EEXISTS or an error code */ GIT_EXTERN(int) git_remote_create( |