Explorar el Código

Fixes bad branch status for remote branches

main
Eric Amodio hace 4 años
padre
commit
7fbb91c5ed
Se han modificado 2 ficheros con 10 adiciones y 1 borrados
  1. +6
    -0
      CHANGELOG.md
  2. +4
    -1
      src/views/nodes/remoteNode.ts

+ 6
- 0
CHANGELOG.md Ver fichero

@ -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

+ 4
- 1
src/views/nodes/remoteNode.ts Ver fichero

@ -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;

Cargando…
Cancelar
Guardar