summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-12-10 11:11:01 -0800
committerBen Straub <bs@github.com>2012-12-10 11:11:01 -0800
commit59bccf33c4de1124f2effd5d4b1a9ef44babefd0 (patch)
tree82d4af3f511054016162c789655f760c184fe517 /include/git2/remote.h
parent72629a10e3420b7e20b2e349446b4babbed5eb2c (diff)
downloadlibgit2-59bccf33c4de1124f2effd5d4b1a9ef44babefd0.tar.gz
Add a payload param to git_cred_acquire_cb
Fixes #1128.
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index af73ca8b3..82aff385d 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -313,7 +313,8 @@ GIT_EXTERN(void) git_remote_check_cert(git_remote *remote, int check);
*/
GIT_EXTERN(void) git_remote_set_cred_acquire_cb(
git_remote *remote,
- git_cred_acquire_cb cred_acquire_cb);
+ git_cred_acquire_cb cred_acquire_cb,
+ void *payload);
/**
* Sets a custom transport for the remote. The caller can use this function