Skip to content

Commit c8c4b83

Browse files
committed
Fixes extra refresh of view
1 parent d08c442 commit c8c4b83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/views/statusNode.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ export class StatusNode extends ExplorerNode {
110110
if (this._status !== undefined && status !== undefined &&
111111
((this._status.files.length === status.files.length) || (this._status.files.length > 0 && status.files.length > 0))) {
112112
commands.executeCommand('gitlens.gitExplorer.refreshNode', this);
113+
114+
return;
113115
}
114116

115117
commands.executeCommand('gitlens.gitExplorer.refresh');

0 commit comments

Comments
 (0)