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

10 lines
198 B
Ruby
Raw Normal View History

2011-10-20 15:00:00 -04:00
require 'grit'
2012-04-20 18:26:22 -04:00
require 'pygments'
2011-10-20 15:00:00 -04:00
Grit::Git.git_timeout = Gitlab.config.git.timeout
Grit::Git.git_max_size = Gitlab.config.git.max_size
2011-10-20 15:00:00 -04:00
Grit::Blob.class_eval do
include Linguist::BlobHelper
end