mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-24 17:24:53 -05:00
Closes #139 - adds changed files node to repository status
Reworks commit-file nodes
This commit is contained in:
@@ -9,7 +9,11 @@ export class StashNode extends ExplorerNode {
|
||||
|
||||
readonly resourceType: ResourceType = 'gitlens:stash';
|
||||
|
||||
constructor(public readonly commit: GitStashCommit, protected readonly context: ExtensionContext, protected readonly git: GitService) {
|
||||
constructor(
|
||||
public readonly commit: GitStashCommit,
|
||||
protected readonly context: ExtensionContext,
|
||||
protected readonly git: GitService
|
||||
) {
|
||||
super(new GitUri(commit.uri, commit));
|
||||
}
|
||||
|
||||
@@ -27,7 +31,7 @@ export class StashNode extends ExplorerNode {
|
||||
}
|
||||
}
|
||||
|
||||
return Promise.resolve(statuses.map(s => new StashFileNode(s, this.commit, this.context, this.git)));
|
||||
return statuses.map(s => new StashFileNode(s, this.commit, this.context, this.git));
|
||||
}
|
||||
|
||||
getTreeItem(): TreeItem {
|
||||
|
||||
Reference in New Issue
Block a user