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
1 changed files with 3 additions and 0 deletions

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