gitlabhq/config/initializers/3_grit_ext.rb
2012-12-20 16:54:28 +01:00

10 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