ResourceUtil.splitPathsByRepository(paths);
for (Repository repository : pathsByRepository.keySet()) {
IndexDiffCache cache = org.eclipse.egit.core.Activator.getDefault().getIndexDiffCache();
IndexDiffCacheEntry entry = cache.getIndexDiffCacheEntry(repository);
if (entry != null)
entry.refresh();
}
GitLightweightDecorator.refresh();
}
}