Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-09-16 07:02:25 +0400
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-02 08:41:42 +0400
commite3c131c544bc79573ebefab4931b5ca89836ace1 (patch)
treeb64b640a89ad709ba63f31dcc5e6658552e14cb4 /src/transports
parentd31402a3fc4aa1b7d48ba43fd3bb072e7d69a527 (diff)
remote: move the credentials callback to the struct
Move this one as well, letting us have a single way of setting the callbacks for the remote, and removing fields from the clone options.
Diffstat (limited to 'src/transports')
-rw-r--r--src/transports/local.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/local.c b/src/transports/local.c
index 9ebea979c..3c1f98804 100644
--- a/src/transports/local.c
+++ b/src/transports/local.c
@@ -434,7 +434,7 @@ static int local_push(
if (!url || t->parent.close(&t->parent) < 0 ||
t->parent.connect(&t->parent, url,
- push->remote->cred_acquire_cb, NULL, GIT_DIRECTION_PUSH, flags))
+ push->remote->callbacks.credentials, NULL, GIT_DIRECTION_PUSH, flags))
goto on_error;
}