We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58cd5c1 commit 88341d3Copy full SHA for 88341d3
src/views/statusFilesNode.ts
@@ -116,9 +116,9 @@ export class StatusFilesNode extends ExplorerNode {
116
let files = (this.status.files !== undefined && this.includeWorkingTree) ? this.status.files.length : 0;
117
118
if (this.status.upstream !== undefined) {
119
- const stats = await Container.git.getChangedFilesCount(this.repoPath, `${this.status.upstream}...`);
+ const stats = await Container.git.getChangedFilesCount(this.repoPath, this.status.upstream);
120
if (stats !== undefined) {
121
- files += stats.files;
+ files = stats.files;
122
}
123
124
0 commit comments