Kaynağa Gözat

Fixes #572 - can't expand some branch folders

Duplicate nodes caused by branches with the same last path part
main
Eric Amodio 6 yıl önce
ebeveyn
işleme
043c4e184f
2 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  1. +1
    -0
      CHANGELOG.md
  2. +3
    -1
      src/views/nodes/branchOrTagFolderNode.ts

+ 1
- 0
CHANGELOG.md Dosyayı Görüntüle

@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Fixes an issue where gravatar icons would sometimes not show up — thanks to [PR #579](https://github.com/eamodio/vscode-gitlens/pull/579) by sgtwilko ([@sgtwilko](https://github.com/sgtwilko))
- Fixes [#501](https://github.com/eamodio/vscode-gitlens/issues/501) — Azure DevOps ssh remotes aren't handled properly
- Fixes [#572](https://github.com/eamodio/vscode-gitlens/issues/572) — Explorer cant expand some branch folders
## [9.0.3] - 2018-12-06

+ 3
- 1
src/views/nodes/branchOrTagFolderNode.ts Dosyayı Görüntüle

@ -7,6 +7,8 @@ import { BranchNode } from './branchNode';
import { TagNode } from './tagNode';
import { ResourceType, ViewNode } from './viewNode';
const set = new Set();
export class BranchOrTagFolderNode extends ViewNode {
constructor(
view: View,
@ -22,7 +24,7 @@ export class BranchOrTagFolderNode extends ViewNode {
}
get id(): string {
return `gitlens:repository(${this.repoPath}):${this.type}-folder(${this.folderName})`;
return `gitlens:repository(${this.repoPath}):${this.type}-folder(${this.relativePath})`;
}
async getChildren(): Promise<ViewNode[]> {

Yükleniyor…
İptal
Kaydet