diff options
author | punkymaniac <punkymaniac@protonmail.ch> | 2021-06-16 17:50:40 +0200 |
---|---|---|
committer | punkymaniac <punkymaniac@protonmail.ch> | 2021-07-06 17:39:59 +0200 |
commit | 48e3c25b930ac7156141dda07a0874958acbf96e (patch) | |
tree | 5c4b98806445efdf13296b33a5ac4f4ee0df5387 | |
parent | aefbd18948180cbe2ce7db2ca087b4dad8f2278d (diff) | |
download | libgit2-48e3c25b930ac7156141dda07a0874958acbf96e.tar.gz |
Add missing return documentation
-rw-r--r-- | include/git2/remote.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index c600e2248..5d7a5367d 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -253,6 +253,7 @@ GIT_EXTERN(int) git_remote_set_url(git_repository *repo, const char *remote, con * @param repo the repository in which to perform the change * @param remote the remote's name * @param url the url to set + * @return 0, or an error code */ GIT_EXTERN(int) git_remote_set_pushurl(git_repository *repo, const char *remote, const char* url); @@ -876,6 +877,7 @@ GIT_EXTERN(git_remote_autotag_option_t) git_remote_autotag(const git_remote *rem * @param repo the repository in which to make the change * @param remote the name of the remote * @param value the new value to take. + * @return 0, or an error code. */ GIT_EXTERN(int) git_remote_set_autotag(git_repository *repo, const char *remote, git_remote_autotag_option_t value); |