diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-10-11 12:25:50 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-11-09 00:01:58 +0100 |
commit | 64e3e6d43acbbf6cc8f8a4c612547c5a575c4031 (patch) | |
tree | 18c5db63b5253a0a1261abc0a9cde9dc3ab51ebb /include/git2/remote.h | |
parent | 6eb9e39ce03e4db1fb39ff9fa8ed771463fca1bd (diff) | |
download | libgit2-cmn/remote-push.tar.gz |
remote: use configured push refspecs if none are givencmn/remote-push
If the user does not pass any refspecs to push, try to use those
configured via the configuration or via add_push().
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index bb5aac4e1..ef242293c 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -396,7 +396,8 @@ GIT_EXTERN(int) git_remote_fetch( * Peform all the steps from a push. * * @param remote the remote to push to - * @param refspecs the refspecs to use for pushing + * @param refspecs the refspecs to use for pushing. If none are + * passed, the configured refspecs will be used * @param opts the options * @param signature signature to use for the reflog of updated references * @param reflog_message message to use for the reflog of upated references |