mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
code_style: remove unused code
This commit is contained in:
parent
5b5fc104e5
commit
888bf54303
1 changed files with 1 additions and 5 deletions
|
@ -1,18 +1,14 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
|
|
||||||
namespace SourceGit.Commands
|
namespace SourceGit.Commands
|
||||||
{
|
{
|
||||||
public partial class QueryBranches : Command
|
public class QueryBranches : Command
|
||||||
{
|
{
|
||||||
private const string PREFIX_LOCAL = "refs/heads/";
|
private const string PREFIX_LOCAL = "refs/heads/";
|
||||||
private const string PREFIX_REMOTE = "refs/remotes/";
|
private const string PREFIX_REMOTE = "refs/remotes/";
|
||||||
private const string PREFIX_DETACHED = "(HEAD detached at";
|
private const string PREFIX_DETACHED = "(HEAD detached at";
|
||||||
|
|
||||||
[GeneratedRegex(@"^(\d+)\s(\d+)$")]
|
|
||||||
private static partial Regex REG_AHEAD_BEHIND();
|
|
||||||
|
|
||||||
public QueryBranches(string repo)
|
public QueryBranches(string repo)
|
||||||
{
|
{
|
||||||
WorkingDirectory = repo;
|
WorkingDirectory = repo;
|
||||||
|
|
Loading…
Reference in a new issue