vcs: remove hack

This looks extremely suspicious and doesn't seem
to be necessary anymore.
This commit is contained in:
Aleksey Pivovarov
2017-05-29 21:33:40 +03:00
committed by Aleksey Pivovarov
parent 940b794133
commit 21ca6958f0
@@ -557,12 +557,6 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Projec
private boolean checkScopeIsEmpty(VcsInvalidated invalidated) {
if (invalidated == null) return true;
if (invalidated.isEmpty() && invalidated.isEverythingDirty()) {
// a hack here; but otherwise everything here should be refactored ;)
VcsDirtyScopeManager.getInstance(myProject).markEverythingDirty();
return true;
}
if (invalidated.isEverythingDirty()) return false;
if (invalidated.isEmpty()) return true;