bastos71230 Posted September 2, 2016 Report Share Posted September 2, 2016 Hello, I wonder if it's possible to disablediff for certain files like minified ones (like style.min.css or script.min.js). The problem is : when I click on those files in the pending changes view for example, it takes several minutes for my computer to calculate the diff between the minified files before and after changes. Of course I try to not click on them but sometimes miss-clicks happen :/ May be is there an option I did not see ? Thx ! Bastien. Link to comment Share on other sites More sharing options...
manu Posted September 2, 2016 Report Share Posted September 2, 2016 Hi Bastien, well, the only way I can think of to do this is changing the revision type of all the .min.css file to "binary". If they are binary the embedded diff will only display the metadata differences but not the file content. You can change all the .min.css files to binary by running something like this using the command line: dir /S mydir\*.min.css | cm crt -type=bin If you find yourself in th situation where you want to open the real differences just revert it to text using the context menu of the file. Hope it helps! Link to comment Share on other sites More sharing options...
bastos71230 Posted September 6, 2016 Author Report Share Posted September 6, 2016 hi ! Thank's for your answer, I will test that ! Regards, Bastien Serprix. Link to comment Share on other sites More sharing options...
bastos71230 Posted September 6, 2016 Author Report Share Posted September 6, 2016 I did not think to change revision type to Binary mode, it works fine.I will test your command later but thanks for your help ! Regards, Bastien Serprix. Link to comment Share on other sites More sharing options...
manu Posted September 6, 2016 Report Share Posted September 6, 2016 Cool! I think it will be useful for you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.