gitlab-org--gitlab-foss/config/initializers/3_grit_ext.rb
Dmitriy Zaporozhets 6d204544a1 Merge pull request #3687 from hiroponz/fix-not-using-git-bin-path
Fix not using git.bin_path in config.
2013-05-08 11:17:48 -07:00

6 lines
187 B
Ruby

require 'grit'
require 'pygments'
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