void (@NotNull String branchName, @NotNull DeleteOnMergeOption deleteOnMerge, @NotNull List<? extends GitRepository> repositories) { new CommonBackgroundTask(myProject, GitBundle.message("branch.merging.process", branchName), null) { @Override public void execute(@NotNull ProgressIndicator indicator) { newWorker(indicator).merge(branchName, deleteOnMerge, repositories); } }.runInBackground(); }