mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
VCS: file name to diff window with "last chance" apply patch result
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user