Skip to content

Commit 4925651

Browse files
Copilotalexr00
andcommitted
Add commit count decoration to Commits tree node
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 84999cf commit 4925651

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/view/treeNodes/commitsCategoryNode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class CommitsNode extends TreeNode implements vscode.TreeItem {
2525
this._pr = pr;
2626
this._folderRepoManager = reposManager;
2727
this.collapsibleState = vscode.TreeItemCollapsibleState.Collapsed;
28+
this.description = pr.item.commits.length.toString();
2829

2930
this.childrenDisposables = [];
3031
this.childrenDisposables.push(this._pr.onDidChangeReviewThreads(() => {

0 commit comments

Comments
 (0)