mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
VCS: diff changes, filter binary
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user