gitlab-org--gitlab-foss/config/initializers/3_grit_ext.rb

9 lines
198 B
Ruby

require 'grit'
require 'pygments'
Grit::Git.git_timeout = Gitlab.config.git_timeout
Grit::Git.git_max_size = Gitlab.config.git_max_size
Grit::Blob.class_eval do
include Linguist::BlobHelper
end