Improve diff performance by eliminating redundant checks for text blobs
On a merge request with over 1000 changed files, there were redundant calls to blob_text_viewable?, which incurred about 7% of the time.
Improves #14775 (moved)
On a merge request with over 1000 changed files, there were redundant calls to blob_text_viewable?, which incurred about 7% of the time.
Improves #14775 (moved)