void (@NotNull final Project project, @NotNull final VcsRevisionNumber revision, @NotNull final VirtualFile virtualFile, @NotNull VcsKey vcsKey, @Nullable final RepositoryLocation location, final boolean isNonLocal) { final AbstractVcs vcs = ProjectLevelVcsManager.getInstance(project).findVcsByName(vcsKey.getName()); if (vcs == null) return; final var provider = vcs.getCommittedChangesProvider(); if (provider == null) return; if (isNonLocal && provider.getForNonLocal(virtualFile) == null) return; FilePath filePath = VcsUtil.getFilePath(virtualFile); loadAndShowCommittedChangesDetails(project, revision, filePath, () -> getAffectedChanges(provider, virtualFile, revision, location, isNonLocal)); }