diff options
Diffstat (limited to 'examples/network/ls-remote.c')
-rw-r--r-- | examples/network/ls-remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/network/ls-remote.c b/examples/network/ls-remote.c index e837654a1..b22ac47a0 100644 --- a/examples/network/ls-remote.c +++ b/examples/network/ls-remote.c @@ -27,6 +27,7 @@ static int use_remote(git_repository *repo, char *name) goto cleanup; } + git_remote_set_cred_acquire_cb(remote, &cred_acquire_cb, NULL); error = git_remote_connect(remote, GIT_DIRECTION_FETCH); if (error < 0) |