mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-86660 Local change list performance problem on large projects
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
package com.intellij.openapi.vcs.changes;
|
||||
|
||||
import com.intellij.lifecycle.PeriodicalTasksCloser;
|
||||
@@ -146,7 +145,11 @@ public class LocalChangeListImpl extends LocalChangeList {
|
||||
if (scope == null || before != null && scope.belongsTo(before.getFile()) || after != null && scope.belongsTo(after.getFile())
|
||||
|| isIgnoredChange(oldBoy, fileIndex)) {
|
||||
result.add(oldBoy);
|
||||
removeChange(oldBoy);
|
||||
if (ChangeListManagerImpl.DEBUG) {
|
||||
System.out.println("LocalChangeListImpl.startProcessingChanges, remove old change: this = " + this + ", change = " + oldBoy);
|
||||
}
|
||||
myChanges.remove(oldBoy);
|
||||
myReadChangesCache = null;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user