Преглед на файлове

Fixes bad branch status for remote branches

main
Eric Amodio преди 4 години
родител
ревизия
7fbb91c5ed
променени са 2 файла, в които са добавени 10 реда и са изтрити 1 реда
  1. +6
    -0
      CHANGELOG.md
  2. +4
    -1
      src/views/nodes/remoteNode.ts

+ 6
- 0
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

+ 4
- 1
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;

Зареждане…
Отказ
Запис