vcs: cleanup - remove code duplication

GitOrigin-RevId: 9aff129b0b61c95802ede7d30eddebeb55787f9f
This commit is contained in:
Aleksey Pivovarov
2020-01-28 16:02:33 +03:00
committed by intellij-monorepo-bot
parent 744eddf6e1
commit 7222e59425

View File

@@ -1429,9 +1429,7 @@ public class ChangeListManagerImpl extends ChangeListManagerEx implements Change
updateImmediately();
return true;
}
VcsDirtyScopeVfsListener.getInstance(myProject).waitForAsyncTaskCompletion();
myUpdater.waitUntilRefreshed();
waitUpdateAlarm();
waitUntilRefreshed();
return true;
}