BigW Consortium Gitlab

3_grit_ext.rb 198 Bytes
Newer Older
gitlabhq committed
1
require 'grit'
2
require 'pygments'
gitlabhq committed
3

4 5
Grit::Git.git_timeout = Gitlab.config.git.timeout
Grit::Git.git_max_size = Gitlab.config.git.max_size
6

gitlabhq committed
7
Grit::Blob.class_eval do
8
  include Linguist::BlobHelper
9
end