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