void (@NotNull ProgressIndicator indicator) { Map<GitRepository, Hash> hashes = commits.keySet().stream().collect( Collectors.toMap(Function.identity(), repo -> commits.get(repo).getId())); new GitResetOperation(project, hashes, selectedMode, indicator).execute(); }