Skip to content

Commit 7cd5814

Browse files
committed
enhance: better regex for output of Commands.CompareRevisions
Signed-off-by: leo <[email protected]>
1 parent 38d87fa commit 7cd5814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/CompareRevisions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace SourceGit.Commands
66
{
77
public partial class CompareRevisions : Command
88
{
9-
[GeneratedRegex(@"^(\s?[\w\?]{1,4})\s+(.+)$")]
9+
[GeneratedRegex(@"^([MADRC])\s+(.+)$")]
1010
private static partial Regex REG_FORMAT();
1111

1212
public CompareRevisions(string repo, string start, string end)

0 commit comments

Comments
 (0)