diff options
| author | Matt Burke <spraints@gmail.com> | 2015-09-08 13:53:41 -0400 |
|---|---|---|
| committer | Matt Burke <spraints@gmail.com> | 2015-09-08 14:02:33 -0400 |
| commit | 4f2b6093a64ead32f51a886186496821e003cee5 (patch) | |
| tree | 8d31557e46d2492c7ec02314ebabc6cee4b2873b /include/git2/remote.h | |
| parent | 9da32a625564064908b61530318a1366ffff8217 (diff) | |
| download | libgit2-4f2b6093a64ead32f51a886186496821e003cee5.tar.gz | |
Tell the git_transport about the custom_headers
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 a39e5a415..9237ca255 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -241,9 +241,10 @@ GIT_EXTERN(const git_refspec *)git_remote_get_refspec(const git_remote *remote, * @param direction GIT_DIRECTION_FETCH if you want to fetch or * GIT_DIRECTION_PUSH if you want to push * @param callbacks the callbacks to use for this connection + * @param custom_headers extra HTTP headers to use in this connection * @return 0 or an error code */ -GIT_EXTERN(int) git_remote_connect(git_remote *remote, git_direction direction, const git_remote_callbacks *callbacks); +GIT_EXTERN(int) git_remote_connect(git_remote *remote, git_direction direction, const git_remote_callbacks *callbacks, const git_strarray *custom_headers); /** * Get the remote repository's reference advertisement list |
