diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/ApplyPatchAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/ApplyPatchAction.java index 3fba9c383764..0164ec9ef6e5 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/ApplyPatchAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/patch/ApplyPatchAction.java @@ -206,7 +206,9 @@ public class ApplyPatchAction extends DumbAwareAction { final VirtualFile file, ApplyPatchForBaseRevisionTexts texts, boolean readonly) { - final SimpleDiffRequest simpleRequest = new SimpleDiffRequest(project, "Result of patch apply"); + final SimpleDiffRequest simpleRequest = new SimpleDiffRequest(project, new StringBuilder().append("Result of patch apply to ") + .append(file.getName()).append(" (").append(file.getParent() == null ? file.getPath() : file.getParent().getPath()).append(")") + .toString()); final DocumentImpl patched = new DocumentImpl(texts.getPatched()); patched.setReadOnly(false);