Fix Diff#to_hash and #init_from_hash

This commit is contained in:
Douwe Maan 2017-05-30 14:50:02 -05:00
parent aed0387f97
commit d9461314ad

View file

@ -17,6 +17,9 @@ module Gitlab
attr_accessor :expanded
# We need this accessor because of `to_hash` and `init_from_hash`
attr_accessor :too_large
# The maximum size of a diff to display.
SIZE_LIMIT = 100.kilobytes