From 9d665f6b30ffafe78f75b9f0f1275e7c9e865480 Mon Sep 17 00:00:00 2001 From: Monster1025 Date: Thu, 15 Jul 2021 11:20:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B5=D1=84=D0=B8=D0=BA=D1=81?= =?UTF-8?q?=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0=20-=20?= =?UTF-8?q?=D0=B8=D0=B7=205=20=D1=81=D0=B8=D0=BC=D0=B2=D0=BE=D0=BB=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/JiraTimeBot/RepositoryProviders/GitLog.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JiraTimeBot/RepositoryProviders/GitLog.cs b/src/JiraTimeBot/RepositoryProviders/GitLog.cs index 7b1ea17..feb3a58 100644 --- a/src/JiraTimeBot/RepositoryProviders/GitLog.cs +++ b/src/JiraTimeBot/RepositoryProviders/GitLog.cs @@ -114,7 +114,7 @@ namespace JiraTimeBot.RepositoryProviders continue; } - var regex = new Regex("[a-zA-Z0-9]{1,4}-[0-9]{1,6}"); + var regex = new Regex("[a-zA-Z0-9]{1,5}-[0-9]{1,6}"); var branch = ListBranchesContainsCommit(repo, commit.Sha) .Select(f => f.FriendlyName) .FirstOrDefault(f => regex.IsMatch(f));