diff --git a/src/GitTfs/GitTfs.cs b/src/GitTfs/GitTfs.cs index 6f2f08a8..907401cc 100644 --- a/src/GitTfs/GitTfs.cs +++ b/src/GitTfs/GitTfs.cs @@ -111,15 +111,6 @@ namespace GitTfs public void InitializeGlobals() { - var git = _container.GetInstance(); - try - { - _globals.StartingRepositorySubDir = git.CommandOneline("rev-parse", "--show-prefix"); - } - catch (Exception) - { - _globals.StartingRepositorySubDir = ""; - } if (_globals.GitDir != null) { _globals.GitDirSetByUser = true; diff --git a/src/GitTfs/Globals.cs b/src/GitTfs/Globals.cs index 78ac20f8..d0a87e8c 100644 --- a/src/GitTfs/Globals.cs +++ b/src/GitTfs/Globals.cs @@ -96,8 +96,6 @@ namespace GitTfs public bool GitDirSetByUser { get; set; } - public string StartingRepositorySubDir { get; set; } - public IGitRepository Repository { get; set; } public int GcCountdown { get; set; }