mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-30 08:34:59 +00:00
fix: git submodule status
may return lines that start as U
character (#1307)
This commit is contained in:
parent
65808e5f58
commit
57d15dc6d3
1 changed files with 2 additions and 2 deletions
|
@ -6,9 +6,9 @@ namespace SourceGit.Commands
|
||||||
{
|
{
|
||||||
public partial class QuerySubmodules : Command
|
public partial class QuerySubmodules : Command
|
||||||
{
|
{
|
||||||
[GeneratedRegex(@"^[\-\+ ][0-9a-f]+\s(.*)\s\(.*\)$")]
|
[GeneratedRegex(@"^[U\-\+ ][0-9a-f]+\s(.*)\s\(.*\)$")]
|
||||||
private static partial Regex REG_FORMAT1();
|
private static partial Regex REG_FORMAT1();
|
||||||
[GeneratedRegex(@"^[\-\+ ][0-9a-f]+\s(.*)$")]
|
[GeneratedRegex(@"^[U\-\+ ][0-9a-f]+\s(.*)$")]
|
||||||
private static partial Regex REG_FORMAT2();
|
private static partial Regex REG_FORMAT2();
|
||||||
[GeneratedRegex(@"^\s?[\w\?]{1,4}\s+(.+)$")]
|
[GeneratedRegex(@"^\s?[\w\?]{1,4}\s+(.+)$")]
|
||||||
private static partial Regex REG_FORMAT_STATUS();
|
private static partial Regex REG_FORMAT_STATUS();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue