diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-04-19 23:55:37 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-04-19 23:55:37 +0200 |
commit | 4a38143c93dc705bc40109e3f79d7fac722d44d7 (patch) | |
tree | 75f5ad942e7f1da5a79f7c60d8937eadbf9f594c /include/git2/remote.h | |
parent | 9d8f97c9bc81d8dd736348fbd18258879cdcf277 (diff) | |
download | libgit2-4a38143c93dc705bc40109e3f79d7fac722d44d7.tar.gz |
remote: specify what values direction can mean in git_remote_connect()
This fixes #1487
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 6f36a3999..9494a8b01 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -184,7 +184,8 @@ GIT_EXTERN(const git_refspec *) git_remote_pushspec(const git_remote *remote); * starts up a specific binary which can only do the one or the other. * * @param remote the remote to connect to - * @param direction whether you want to receive or send data + * @param direction GIT_DIRECTION_FETCH if you want to fetch or + * GIT_DIRECTION_PUSH if you want to push * @return 0 or an error code */ GIT_EXTERN(int) git_remote_connect(git_remote *remote, git_direction direction); |