mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
scm: don't send events if nothing has changed
This commit is contained in:
@@ -169,8 +169,8 @@ class MainThreadSCMProvider implements ISCMProvider {
|
||||
this._onDidChange.fire();
|
||||
}
|
||||
|
||||
$spliceGroupResourceStates(slices: SCMRawResourceSplices[]): void {
|
||||
for (const [groupHandle, groupSlices] of slices) {
|
||||
$spliceGroupResourceStates(splices: SCMRawResourceSplices[]): void {
|
||||
for (const [groupHandle, groupSlices] of splices) {
|
||||
const group = this._groupsByHandle[groupHandle];
|
||||
|
||||
if (!group) {
|
||||
|
||||
Reference in New Issue
Block a user