summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-05-01 15:23:27 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2017-05-01 15:23:27 +0100
commit45071cec117bc3f4348aa808dc58f18850f4ad1d (patch)
treee3efe551f8f9c8e832d357ecb3b17734a5b5bf72 /include/git2/remote.h
parent90cdf44ffb7c78cb9d36709f8a07a216e06bd919 (diff)
downloadlibgit2-45071cec117bc3f4348aa808dc58f18850f4ad1d.tar.gz
git_remote_push: document that NULL refspecs allowed
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index 244794e6a..e9e4e5b65 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -715,8 +715,8 @@ GIT_EXTERN(int) git_remote_prune(git_remote *remote, const git_remote_callbacks
* Peform all the steps from a push.
*
* @param remote the remote to push to
- * @param refspecs the refspecs to use for pushing. If none are
- * passed, the configured refspecs will be used
+ * @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
*/
GIT_EXTERN(int) git_remote_push(git_remote *remote,