diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f433d8..bb0ee75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] + +### Fixed + +- Fixes invalid branch status showing up for remote branches + ## [11.0.5] - 2020-11-23 ### Fixed diff --git a/src/views/nodes/remoteNode.ts b/src/views/nodes/remoteNode.ts index e849509..82e0a38 100644 --- a/src/views/nodes/remoteNode.ts +++ b/src/views/nodes/remoteNode.ts @@ -47,7 +47,10 @@ export class RemoteNode extends ViewNode { if (branches.length === 0) return [new MessageNode(this.view, this, 'No branches could be found.')]; const branchNodes = branches.map( - b => new BranchNode(GitUri.fromRepoPath(this.uri.repoPath!, b.ref), this.view, this, b, false), + b => + new BranchNode(GitUri.fromRepoPath(this.uri.repoPath!, b.ref), this.view, this, b, false, { + showTracking: false, + }), ); if (this.view.config.branches.layout === ViewBranchesLayout.List) return branchNodes;