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
|
|
|
|
2012-07-02 20:51:48 +02:00
|
|
|
Grit::Git.git_timeout = Gitlab.config.git_timeout
|
|
|
|
Grit::Git.git_max_size = Gitlab.config.git_max_size
|
2012-05-29 10:17:31 +02:00
|
|
|
|
2011-10-20 21:00:00 +02:00
|
|
|
Grit::Blob.class_eval do
|
2012-04-20 23:21:12 +02:00
|
|
|
include Linguist::BlobHelper
|
2012-05-29 10:17:31 +02:00
|
|
|
end
|