Commit d9461314 authored by Douwe Maan's avatar Douwe Maan

Fix Diff#to_hash and #init_from_hash

parent aed0387f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment