mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Repository>: fix bad regex to parse submodule name
This commit is contained in:
parent
3811f3ceed
commit
344a603665
1 changed files with 1 additions and 1 deletions
|
@ -922,7 +922,7 @@ namespace SourceGit.Git {
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public List<string> Submodules() {
|
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 modules = new List<string>();
|
||||||
|
|
||||||
var errs = RunCommand("submodule status", line => {
|
var errs = RunCommand("submodule status", line => {
|
||||||
|
|
Loading…
Reference in a new issue