gitlabhq/config/initializers/3_grit_ext.rb

10 lines
198 B
Ruby
Raw Normal View History

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