IDEA-47285 (Local changes diff with a not recognized file extension) - the case when...
authorirengrig <Irina.Chernushina@jetbrains.com>
Tue, 2 Feb 2010 12:37:25 +0000 (15:37 +0300)
committerirengrig <Irina.Chernushina@jetbrains.com>
Tue, 2 Feb 2010 12:37:25 +0000 (15:37 +0300)
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ShowDiffAction.java

index 32e0c58d9ad98e7c8b8e71c21f2ded1faf672725..2aa626110de81a373d158f8184d3162113de77b5 100644 (file)
@@ -23,7 +23,6 @@ import com.intellij.openapi.application.ModalityState;
 import com.intellij.openapi.diff.DiffManager;
 import com.intellij.openapi.diff.DiffRequest;
 import com.intellij.openapi.diff.DiffTool;
-import com.intellij.openapi.diff.SimpleDiffRequest;
 import com.intellij.openapi.fileTypes.FileType;
 import com.intellij.openapi.fileTypes.FileTypes;
 import com.intellij.openapi.project.DumbAware;
@@ -90,9 +89,6 @@ public class ShowDiffAction extends AnAction implements DumbAware {
         int index = 0;
         if (convertedChanges.length == 1) {
           final Change selectedChange = convertedChanges[0];
-          if (checkNotifyBinaryDiff(selectedChange)) {
-            return;
-          }
           ChangeList changeList = ((ChangeListManagerImpl) ChangeListManager.getInstance(project)).getIdentityChangeList(selectedChange);
           if (changeList != null) {
             if (changesInListCopy == null) {