diff options
-rw-r--r-- | lib/gitlab/git/diff.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gitlab/git/diff.rb b/lib/gitlab/git/diff.rb index 201a115503b..e33fe4b305a 100644 --- a/lib/gitlab/git/diff.rb +++ b/lib/gitlab/git/diff.rb @@ -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 |