Skip to content

Commit 45071ce

Browse files
committed
git_remote_push: document that NULL refspecs allowed
1 parent 90cdf44 commit 45071ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/remote.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ GIT_EXTERN(int) git_remote_prune(git_remote *remote, const git_remote_callbacks
715715
* Peform all the steps from a push.
716716
*
717717
* @param remote the remote to push to
718-
* @param refspecs the refspecs to use for pushing. If none are
719-
* passed, the configured refspecs will be used
718+
* @param refspecs the refspecs to use for pushing. If NULL or an empty
719+
* array, the configured refspecs will be used
720720
* @param opts options to use for this push
721721
*/
722722
GIT_EXTERN(int) git_remote_push(git_remote *remote,

0 commit comments

Comments
 (0)