[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;
This commit is contained in:
Nadya Zabrodina
2016-06-28 19:14:18 +03:00
parent f7de927c27
commit 7a5c112de1
@@ -449,7 +449,6 @@ public class PatchApplier<BinaryType extends FilePatch> {
for (FilePath filePath : directlyAffected) {
lfs.refreshAndFindFileByIoFile(filePath.getIOFile());
}
lfs.refreshFiles(indirectlyAffected, false, true, null);
if (project.isDisposed()) return;
final ChangeListManager changeListManager = ChangeListManager.getInstance(project);