mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 03:12:21 +08:00
fix<Repository>: fix bad regex to parse submodule name
This commit is contained in:
@@ -922,7 +922,7 @@ namespace SourceGit.Git {
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<string> Submodules() {
|
||||
var test = new Regex(@"^[\-\+ ][0-9a-f]+\s(.*)\(.*\)$");
|
||||
var test = new Regex(@"^[\-\+ ][0-9a-f]+\s(.*)\s\(.*\)$");
|
||||
var modules = new List<string>();
|
||||
|
||||
var errs = RunCommand("submodule status", line => {
|
||||
|
||||
Reference in New Issue
Block a user