Set<AbstractVcs> (@NotNull Collection<? extends Change> changes, @NotNull Project project) { ProjectLevelVcsManager vcsManager = ProjectLevelVcsManager.getInstance(project); return ContainerUtil.map2SetNotNull(changes, change -> vcsManager.getVcsFor(getFilePath(change))); }