Disable preview for some files


Is there any option to disable preview of some kind of files in commit via web ui?

I have some huge commits with let’s say 70k deletions. Browser get stuck on code preview on such commit with this message:

Too many changes. Reload with full diff Plain diff Email patch

To preserve performance only 100 of 123 files are displayed.
Showing 123 changed files with 343 additions and 68531 deletions