Initialize git_remote_callbacks structure.
(cherry picked from commit 35192f5bd4
)
This commit is contained in:
parent
755bfe3492
commit
b3df08c7b1
|
@ -260,8 +260,7 @@ void DIALOG_GIT_REPOSITORY::updateURLData()
|
||||||
void DIALOG_GIT_REPOSITORY::OnTestClick( wxCommandEvent& event )
|
void DIALOG_GIT_REPOSITORY::OnTestClick( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
git_remote* remote = nullptr;
|
git_remote* remote = nullptr;
|
||||||
git_remote_callbacks callbacks;
|
git_remote_callbacks callbacks = GIT_REMOTE_CALLBACKS_INIT;
|
||||||
callbacks.version = GIT_REMOTE_CALLBACKS_VERSION;
|
|
||||||
|
|
||||||
// We track if we have already tried to connect.
|
// We track if we have already tried to connect.
|
||||||
// If we have, the server may come back to offer another connection
|
// If we have, the server may come back to offer another connection
|
||||||
|
|
Loading…
Reference in New Issue