From 888bf543038da1dc8268bdc7b47b4c258784ff50 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 22 Jul 2024 16:41:35 +0800 Subject: [PATCH] code_style: remove unused code --- src/Commands/QueryBranches.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Commands/QueryBranches.cs b/src/Commands/QueryBranches.cs index 7b42878d..e598ee08 100644 --- a/src/Commands/QueryBranches.cs +++ b/src/Commands/QueryBranches.cs @@ -1,18 +1,14 @@ using System; using System.Collections.Generic; -using System.Text.RegularExpressions; namespace SourceGit.Commands { - public partial class QueryBranches : Command + public class QueryBranches : Command { private const string PREFIX_LOCAL = "refs/heads/"; private const string PREFIX_REMOTE = "refs/remotes/"; private const string PREFIX_DETACHED = "(HEAD detached at"; - [GeneratedRegex(@"^(\d+)\s(\d+)$")] - private static partial Regex REG_AHEAD_BEHIND(); - public QueryBranches(string repo) { WorkingDirectory = repo;