mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
fix: new window opened on failing fetch due to missing StrictHostKeyChecking=accept-new
for repo remote without private ssh key (#485)
This commit is contained in:
parent
bbd4012bc5
commit
6932ce44a9
2 changed files with 8 additions and 0 deletions
|
@ -521,6 +521,9 @@ namespace SourceGit
|
|||
return false;
|
||||
|
||||
var param = args[0];
|
||||
if (Directory.Exists(param))
|
||||
return false;
|
||||
|
||||
if (!param.StartsWith("enter passphrase", StringComparison.OrdinalIgnoreCase) &&
|
||||
!param.Contains(" password", StringComparison.OrdinalIgnoreCase))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue