mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Repository>: validation for remote uri with 'git@'
This commit is contained in:
parent
382ea6b89a
commit
f476d758ca
1 changed files with 1 additions and 2 deletions
|
@ -263,8 +263,7 @@ namespace SourceGit.Git {
|
|||
return !string.IsNullOrEmpty(url)
|
||||
&& (url.StartsWith("http://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("https://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("git://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("ssh://", StringComparison.Ordinal)
|
||||
|| url.StartsWith("git@", StringComparison.Ordinal)
|
||||
|| url.StartsWith("file://", StringComparison.Ordinal));
|
||||
}
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue