summaryrefslogtreecommitdiff
path: root/src/transports/git.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-03-24 14:03:51 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-03-24 14:03:51 -0400
commitc5e071873c1aa4a751202aedeefac7ddb982576c (patch)
tree2d2492b5ecf70c3ea88bbd24de3528f1530ba0b4 /src/transports/git.c
parentaa7a4a507786ed9ad414d76843debafc61f1f334 (diff)
parent142e5379ca850b718c9775cab5e30504503defd0 (diff)
downloadlibgit2-c5e071873c1aa4a751202aedeefac7ddb982576c.tar.gz
Merge pull request #2990 from leoyanggit/custom_param
Add a custom param to git_smart_subtransport_definition
Diffstat (limited to 'src/transports/git.c')
-rw-r--r--src/transports/git.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transports/git.c b/src/transports/git.c
index 726712dff..7e0a47414 100644
--- a/src/transports/git.c
+++ b/src/transports/git.c
@@ -341,10 +341,12 @@ static void _git_free(git_smart_subtransport *subtransport)
git__free(t);
}
-int git_smart_subtransport_git(git_smart_subtransport **out, git_transport *owner)
+int git_smart_subtransport_git(git_smart_subtransport **out, git_transport *owner, void *param)
{
git_subtransport *t;
+ GIT_UNUSED(param);
+
if (!out)
return -1;