blob file view error
Summary
when using latest gitlab-ce (master) with gitlab_git(10.1.3)
files contain non-ascii chars will render File too large, you can view the raw file.
discard any file sizes.
Steps to reproduce
Create an file with content "测试"
Expected Behavior
Can preview this file on blob page(or diff/commits page)
Observed Behavior
File too large, you can view the raw file
.
maybe due to add truncated
method on gitlab_git(gitlab_git@a5b4fc84)
gitlab-org/gitlab-ce#13826