void (@NotNull List<? extends FilePatch> remaining, @NotNull MultiMap<VirtualFile, AbstractFilePatchInProgress<?>> patchGroupsToApply, @Nullable LocalChangeList localList, @Nullable String fileName, @Nullable ThrowableComputable<Map<String, Map<String, CharSequence>>, PatchSyntaxException> additionalInfo) { CommitContext commitContext = new CommitContext(); if (additionalInfo != null) { applyAdditionalInfoBefore(myProject, additionalInfo, commitContext); } Collection<PatchApplier> appliers = getPatchAppliers(patchGroupsToApply, localList, commitContext); new Task.Backgroundable(myProject, VcsBundle.message("patch.apply.progress.title")) { @Override public void run(@NotNull ProgressIndicator indicator) { PatchApplier.executePatchGroup(appliers, localList); } }.queue(); }