Skip to content

Commit 3267567

Browse files
author
Vicent Marti
committed
Merge pull request #534 from libgit2/vmg/xdiff-next
XDiff upstream changes
2 parents 98d554a + 2e52481 commit 3267567

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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)

vendor/libgit2

Submodule libgit2 updated 106 files

0 commit comments

Comments
 (0)