IDEA-143772 IDEA shows deleted files in command line diff between two folders

This commit is contained in:
Konstantin Bulenkov
2015-08-17 19:25:45 +02:00
parent 293e7f11f8
commit 95072fb6f2
@@ -58,7 +58,7 @@ public class DiffApplication extends ApplicationStarterBase {
if (file1 == null) throw new Exception("Can't find file " + path1);
if (file2 == null) throw new Exception("Can't find file " + path2);
VfsUtil.markDirtyAndRefresh(false, false, false, file1, file2);
VfsUtil.markDirtyAndRefresh(false, true, true, file1, file2);
DiffRequest request = DiffRequestFactory.getInstance().createFromFiles(null, file1, file2);
Project project = DefaultProjectFactory.getInstance().getDefaultProject();