diff options
Diffstat (limited to 'src/remote.c')
-rw-r--r-- | src/remote.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remote.c b/src/remote.c index e05ea059f..b4eddbd18 100644 --- a/src/remote.c +++ b/src/remote.c @@ -430,6 +430,11 @@ int git_remote_connect(git_remote *remote, int direction) t->progress_cb = remote->callbacks.progress; t->cb_data = remote->callbacks.data; + if (t->rpc) { + if (remote->callbacks.http_auth) + git_transport_http_set_authcb(t, remote->callbacks.http_auth); + } + t->check_cert = remote->check_cert; if (t->connect(t, direction) < 0) { goto on_error; |