Handle SSH keys better
OpenSSH will iterate through a series of keys. Additionally, there may be a key specified in the ssh/config file that we need to account for. Fixes https://gitlab.com/kicad/code/kicad/-/issues/18864
This commit is contained in:
@@ -63,6 +63,7 @@ bool GIT_CLONE_HANDLER::PerformClone()
|
||||
cloneOptions.fetch_opts.callbacks.payload = this;
|
||||
|
||||
m_testedTypes = 0;
|
||||
ResetNextKey();
|
||||
|
||||
if( git_clone( &m_repo, m_URL.ToStdString().c_str(), m_clonePath.ToStdString().c_str(),
|
||||
&cloneOptions ) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user