From 7a5c112de1b6d2e3ef79ae167bed472d73bce8a1 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Tue, 28 Jun 2016 18:55:15 +0300 Subject: [PATCH] [patch]: remove vfs refresh for 'indirectly affected' (was introduced as recursively and sync in 35433423fd) * 'indirectly affected' means all parent dirs for affected directly; * we shouldn't refresh indirectly recursively at all, the only thing why we did it is to detect newly created/deleted files, but findAndRefresh for directly affected should have already managed this case; --- .../intellij/openapi/diff/impl/patch/formove/PatchApplier.java | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java b/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java index 58c34c7a2a0a..e8b616b55bee 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java +++ b/platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PatchApplier.java @@ -449,7 +449,6 @@ public class PatchApplier { for (FilePath filePath : directlyAffected) { lfs.refreshAndFindFileByIoFile(filePath.getIOFile()); } - lfs.refreshFiles(indirectlyAffected, false, true, null); if (project.isDisposed()) return; final ChangeListManager changeListManager = ChangeListManager.getInstance(project);