List<GitRepository> () { List<GitRepository> incompleteRepositories = new ArrayList<>(); final GitRepository ongoingRebase = getOngoingRebase(); if (ongoingRebase != null) incompleteRepositories.add(ongoingRebase); incompleteRepositories.addAll(DvcsUtil.sortRepositories(ContainerUtil.filter(myStatuses.keySet(), repository -> !repository.equals(ongoingRebase) && myStatuses.get(repository).getType() != GitRebaseStatus.Type.SUCCESS))); return incompleteRepositories; }