void () { final CommittedChangesCache cache = myCache; if (cache == null) return; cache.refreshAllCachesAsync(false, true); for(ChangesCacheFile file: cache.getCachesHolder().getAllCaches()) { if (file.getVcs().isVcsBackgroundOperationsAllowed(file.getRootPath().getVirtualFile())) { if (file.getProvider().refreshIncomingWithCommitted()) { cache.refreshIncomingChangesAsync(); break; } } } }