Skip to content

Commit 00e1550

Browse files
docs: correct docstring info for git_remote_url
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
1 parent 21a351b commit 00e1550

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/git2/remote.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@ GIT_EXTERN(const char *) git_remote_name(const git_remote *remote);
249249
/**
250250
* Get the remote's url
251251
*
252-
* If url.*.insteadOf has been configured for this URL, it will
253-
* return the modified URL. If `git_remote_set_instance_pushurl`
254-
* has been called for this remote, then that URL will be returned.
252+
* If url.*.insteadOf has been configured for this URL, it will return
253+
* the modified URL. This function does not consider if a push url has
254+
* been configured for this remote (use `git_remote_pushurl` if needed).
255255
*
256256
* @param remote the remote
257257
* @return a pointer to the url

0 commit comments

Comments
 (0)