mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
<feature>: add support for ssh:// protocol in git repository URL
This commit is contained in:
parent
079f1a78bc
commit
36e682d429
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ namespace SourceGit.Views.Validations {
|
|||
&& (url.StartsWith("http://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("https://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("git@", StringComparison.Ordinal)
|
||||
|| url.StartsWith("file://", StringComparison.Ordinal));
|
||||
|| url.StartsWith("file://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("ssh://", StringComparison.Ordinal));
|
||||
return valid ? ValidationResult.ValidResult : new ValidationResult(false, App.Text("BadRemoteUri"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue