In the Google Chrome extension "Refined Github", they propose a mode where a file having only additions OR deletions (but not both) is always displayed as a unified diff, whereas files having both will be displayed as splits. This improves readability a lot IMHO. I was wondering if it would be possible to apply the same logic here ?