Skip to content

Commit

Permalink
Fixes #631 - makes remote id more unique
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jan 23, 2019
1 parent baa2a9d commit f704631
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 3 additions & 1 deletion src/views/nodes/remoteNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export class RemoteNode extends ViewNode<RepositoriesView> {
}

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<ViewNode[]> {
Expand Down

0 comments on commit f704631

Please sign in to comment.