mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-03 05:41:08 +00:00
clone: set the credentials callback during testing
This commit is contained in:
parent
0f69b41d2e
commit
352ee17152
@ -428,6 +428,7 @@ void test_online_clone__ssh_with_paths(void)
|
||||
|
||||
g_options.remote_cb = custom_remote_ssh_with_paths;
|
||||
g_options.fetch_opts.callbacks.transport = git_transport_ssh_with_paths;
|
||||
g_options.fetch_opts.callbacks.credentials = cred_cb;
|
||||
g_options.fetch_opts.callbacks.payload = &arr;
|
||||
|
||||
cl_git_fail(git_clone(&g_repo, remote_url, "./foo", &g_options));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user