void (@NotNull ProgressIndicator indicator) { GitUtil.sortFilePathsByGitRootIgnoringMissing(myProject, files).forEach((root, filePaths) -> { try { executor.execute(root, filePaths); } catch (final VcsException ex) { GitVcsConsoleWriter.getInstance(myProject).showMessage(ex.getMessage()); } }); }