From 8a0badf3e2822f4b962d067fd0e29eaa4df09f80 Mon Sep 17 00:00:00 2001 From: Mat Date: Mon, 13 Jan 2025 22:30:20 +0100 Subject: [PATCH] Fixed regex preventing the reading of usernames containing dot characters in the LFS locks list. --- src/Commands/LFS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/LFS.cs b/src/Commands/LFS.cs index c9ab7b41..2b7d1de4 100644 --- a/src/Commands/LFS.cs +++ b/src/Commands/LFS.cs @@ -7,7 +7,7 @@ namespace SourceGit.Commands { public partial class LFS { - [GeneratedRegex(@"^(.+)\s+(\w+)\s+\w+:(\d+)$")] + [GeneratedRegex(@"^(.+)\s+([\w.]+)\s+\w+:(\d+)$")] private static partial Regex REG_LOCK(); class SubCmd : Command