VCS: diff changes, filter binary

This commit is contained in:
Irina Chernushina
2008-10-18 23:32:05 +04:00
parent f71d991030
commit 0f002949f8
@@ -195,8 +195,7 @@ public class ShowDiffAction extends AnAction {
Collections.addAll(changesList, changes);
for(int i=changesList.size()-1; i >= 0; i--) {
final FilePath path = ChangesUtil.getFilePath(changesList.get(i));
//if (path.isDirectory() || path.getFileType().isBinary()) {
if (path.isDirectory()) {
if (path.isDirectory() || path.getFileType().isBinary()) {
changesList.remove(i);
}
}