Skip to content

Commit 48e3c25

Browse files
committed
Add missing return documentation
1 parent aefbd18 commit 48e3c25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/git2/remote.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ GIT_EXTERN(int) git_remote_set_url(git_repository *repo, const char *remote, con
253253
* @param repo the repository in which to perform the change
254254
* @param remote the remote's name
255255
* @param url the url to set
256+
* @return 0, or an error code
256257
*/
257258
GIT_EXTERN(int) git_remote_set_pushurl(git_repository *repo, const char *remote, const char* url);
258259

@@ -876,6 +877,7 @@ GIT_EXTERN(git_remote_autotag_option_t) git_remote_autotag(const git_remote *rem
876877
* @param repo the repository in which to make the change
877878
* @param remote the name of the remote
878879
* @param value the new value to take.
880+
* @return 0, or an error code.
879881
*/
880882
GIT_EXTERN(int) git_remote_set_autotag(git_repository *repo, const char *remote, git_remote_autotag_option_t value);
881883

0 commit comments

Comments
 (0)