8000 Remove RepositoryHost(s) by grokys · Pull Request #1283 · github/VisualStudio · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Remove RepositoryHost(s) #1283

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix CA errors.
  • Loading branch information
grokys committed Nov 7, 2017
commit cd546bbeb0dbedb862199e75e274e08069b3df45
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class PullRequestSessionManager : ReactiveObject, IPullRequestSessionMana
readonly IPullRequestSessionService sessionService;
readonly IConnectionManager connectionManager;
readonly IModelServiceFactory modelServiceFactory;
readonly ITeamExplorerServiceHolder teamExplorerService;
readonly Dictionary<Tuple<string, int>, WeakReference<PullRequestSession>> sessions =
new Dictionary<Tuple<string, int>, WeakReference<PullRequestSession>>();
IPullRequestSession currentSession;
Expand Down Expand Up @@ -66,7 +65,6 @@ public PullRequestSessionManager(
this.sessionService = sessionService;
this.connectionManager = connectionManager;
this.modelServiceFactory = modelServiceFactory;
this.teamExplorerService = teamExplorerService;
teamExplorerService.Subscribe(this, x => RepoChanged(x).Forget());
}

Expand Down
8 changes: 2 additions & 6 deletions src/GitHub.VisualStudio/Services/ConnectionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@
using System.Collections.ObjectModel;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using GitHub.Api;
using GitHub.Extensions;
using GitHub.Models;
using GitHub.Primitives;
using GitHub.Services;
using IGitHubClient = Octokit.IGitHubClient;
using GitHubClient = Octokit.GitHubClient;
using IGitHubClient = Octokit.IGitHubClient;
using User = Octokit.User;
using Serilog;
using GitHub.Logging;
using System.Threading;

namespace GitHub.VisualStudio
{
Expand All @@ -24,8 +22,6 @@ namespace GitHub.VisualStudio
[Export(typeof(IConnectionManager))]
public class ConnectionManager : IConnectionManager
{
static readonly ILogger log = LogManager.ForContext<ConnectionManager>();

readonly IProgram program;
readonly IConnectionCache cache;
readonly IKeychain keychain;
Expand Down
0