mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-10-31 13:03:20 -07:00
enhance: the character between version's minor and build part maybe '-'
This commit is contained in:
parent
025d468b40
commit
ec2d9c4cbe
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ namespace SourceGit.Converters
|
|||
return true;
|
||||
});
|
||||
|
||||
[GeneratedRegex(@"^[\s\w]*(\d+)\.(\d+)\.(\d+).*$")]
|
||||
[GeneratedRegex(@"^[\s\w]*(\d+)\.(\d+)[\.\-](\d+).*$")]
|
||||
private static partial Regex REG_GIT_VERSION();
|
||||
|
||||
private static readonly Version MINIMAL_GIT_VERSION = new Version(2, 23, 0);
|
||||
|
|
Loading…
Reference in a new issue