|
@ -47,7 +47,10 @@ export class RemoteNode extends ViewNode { |
|
|
if (branches.length === 0) return [new MessageNode(this.view, this, 'No branches could be found.')]; |
|
|
if (branches.length === 0) return [new MessageNode(this.view, this, 'No branches could be found.')]; |
|
|
|
|
|
|
|
|
const branchNodes = branches.map( |
|
|
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; |
|
|
if (this.view.config.branches.layout === ViewBranchesLayout.List) return branchNodes; |
|
|
|
|
|
|
|
|