@Override
  protected @Nullable JBPopup createPopup(@NotNull Project project, @NotNull GitRepository repository, @NotNull VirtualFile file) {
    List<String> tags;
    try {
      tags = VcsUtil.computeWithModalProgress(project,
                                              GitBundle.message("git.compare.with.tag.modal.progress.loading.tags"),
                                              true,
                                              (indicator) -> GitBranchUtil.getAllTags(project, repository.getRoot()));
    }
    catch (VcsException e) {
      VcsNotifier.getInstance(project).notifyError(GitNotificationIdsHolder.TAGS_LOADING_FAILED,
                                                   GitBundle.message("git.compare.with.tag.loading.error.title"),
                                                   e.getMessage());
      return null;
    }

    return createPopup(GitBundle.message("git.compare.with.tag.popup.title"), tags,
                       selected -> showDiffWithTag(project, repository, file, selected));
  }
@Override
  protected @Nullable JBPopup createPopup(@NotNull Project project, @NotNull GitRepository repository, @NotNull VirtualFile file)