Skip to content

Commit 2e52481

Browse files
committed
remote: Update to new connect API
1 parent 5843186 commit 2e52481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/rugged/rugged_remote.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static VALUE rb_git_remote_ls(int argc, VALUE *argv, VALUE self)
264264

265265
rugged_remote_init_callbacks_and_payload_from_options(rb_options, &callbacks, &payload);
266266

267-
if ((error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks)) ||
267+
if ((error = git_remote_connect(remote, GIT_DIRECTION_FETCH, &callbacks, NULL)) ||
268268
(error = git_remote_ls(&heads, &heads_len, remote)))
269269
goto cleanup;
270270

@@ -458,7 +458,7 @@ static VALUE rb_git_remote_check_connection(int argc, VALUE *argv, VALUE self)
458458

459459
rugged_remote_init_callbacks_and_payload_from_options(rb_options, &callbacks, &payload);
460460

461-
error = git_remote_connect(remote, direction, &callbacks);
461+
error = git_remote_connect(remote, direction, &callbacks, NULL);
462462
git_remote_disconnect(remote);
463463

464464
if (payload.exception)

0 commit comments

Comments
 (0)