@Override
  protected @NotNull Stream<? extends VcsRef> collectAsync(@NotNull CompletionResultSet result) {
    return filterAndSort(result, myRefs.stream().filter(ref -> !ref.getType().isBranch()));
  }
@Override
  protected @NotNull Stream<? extends VcsRef> collectAsync(@NotNull CompletionResultSet result)