From 067e22dbef6f483c385baef94df855acc217efb0 Mon Sep 17 00:00:00 2001 From: Gerhard Olsson Date: Sun, 18 Oct 2020 23:04:34 +0200 Subject: [PATCH] Gitmodule compiled --- GitCommands/Git/GitModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GitCommands/Git/GitModule.cs b/GitCommands/Git/GitModule.cs index 82a0f5aaaa3..e3b28c32086 100644 --- a/GitCommands/Git/GitModule.cs +++ b/GitCommands/Git/GitModule.cs @@ -3017,7 +3017,7 @@ public IReadOnlyList ParseRefs([NotNull] string refList) // // Lines may also use \t as a column delimiter, such as output of "ls-remote --heads origin". - var regex = new Regex(@"^(?[0-9a-f]{40})[ \t](?.+)$", RegexOptions.Multiline); + var regex = new Regex(@"^(?[0-9a-f]{40})[ \t](?.+)$", RegexOptions.Multiline | RegexOptions.Compiled); var matches = regex.Matches(refList);