summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2022-01-17 22:03:26 -0500
committerGitHub <noreply@github.com>2022-01-17 22:03:26 -0500
commit258df9c18d4876ad59a2cfa9d78a313f867d633e (patch)
tree485ac836348c9fc8f77f7569eeb3ad62a2b02b3d /include/git2/remote.h
parentd298059e963c3a917120a6c7c78846afe544fce0 (diff)
parentd4232e7c91da8365910e3cb947626f3426472330 (diff)
downloadlibgit2-258df9c18d4876ad59a2cfa9d78a313f867d633e.tar.gz
Merge pull request #6168 from punkymaniac/patch-documentation-2
Improve documentation
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 162b076ea..8c9c26f3f 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -324,6 +324,7 @@ GIT_EXTERN(int) git_remote_add_fetch(git_repository *repo, const char *remote, c
*
* @param array pointer to the array in which to store the strings
* @param remote the remote to query
+ * @return 0 or an error code.
*/
GIT_EXTERN(int) git_remote_get_fetch_refspecs(git_strarray *array, const git_remote *remote);
@@ -348,6 +349,7 @@ GIT_EXTERN(int) git_remote_add_push(git_repository *repo, const char *remote, co
*
* @param array pointer to the array in which to store the strings
* @param remote the remote to query
+ * @return 0 or an error code.
*/
GIT_EXTERN(int) git_remote_get_push_refspecs(git_strarray *array, const git_remote *remote);
@@ -1042,6 +1044,7 @@ GIT_EXTERN(int) git_remote_prune(
* @param refspecs the refspecs to use for pushing. If NULL or an empty
* array, the configured refspecs will be used
* @param opts options to use for this push
+ * @return 0 or an error code.
*/
GIT_EXTERN(int) git_remote_push(
git_remote *remote,