From f704631ef6ffcb6cfe3015e2934c2ee037735011 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sun, 20 Jan 2019 15:10:08 -0500 Subject: [PATCH] Fixes #631 - makes remote id more unique --- CHANGELOG.md | 1 + src/views/nodes/remoteNode.ts | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aaade1a..9d8bec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#620](https://github.com/eamodio/vscode-gitlens/issues/620) - Branch names with only digits always appear first — thanks to [PR #621](https://github.com/eamodio/vscode-gitlens/pull/621) by Yan Zhang ([@Eskibear](https://github.com/Eskibear)) - Fixes [#626](https://github.com/eamodio/vscode-gitlens/issues/626) - Branch names with only digits always appear first — thanks to [PR #627](https://github.com/eamodio/vscode-gitlens/pull/627) by Marc Lasson ([@mlasson](https://github.com/mlasson)) +- Fixes [#631](https://github.com/eamodio/vscode-gitlens/issues/631) - Remotes fail to show in gui ## [9.4.1] - 2019-01-08 diff --git a/src/views/nodes/remoteNode.ts b/src/views/nodes/remoteNode.ts index 57ce7b6..beae153 100644 --- a/src/views/nodes/remoteNode.ts +++ b/src/views/nodes/remoteNode.ts @@ -22,7 +22,9 @@ export class RemoteNode extends ViewNode { } get id(): string { - return `${this._instanceId}:gitlens:repository(${this.remote.repoPath}):remote(${this.remote.name})`; + return `${this._instanceId}:gitlens:repository(${this.remote.repoPath}):remote(${this.remote.name}:${ + this.remote.id + })`; } async getChildren(): Promise {