lib/gitlab_git/blob.rb in gitlab_git-10.1.4 vs lib/gitlab_git/blob.rb in gitlab_git-10.2.0
- old
+ new
@@ -265,10 +265,10 @@
nil
end
def truncated?
- size > @data.size
+ size > data.bytes.size
end
private
def has_lfs_version_key?