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

7 lines
187 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_binary = Gitlab.config.git.bin_path
Grit::Git.git_timeout = Gitlab.config.git.timeout
Grit::Git.git_max_size = Gitlab.config.git.max_size