Fix Diff#to_hash and #init_from_hash
This commit is contained in:
parent
aed0387f97
commit
d9461314ad
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue