gitlab: Slapos'ify / tweak gitconfig and hook it into the system
[slapos.git] / software / gitlab / template / gitconfig.in
1 {{ autogenerated }}
2 # global git configuration for GitLab
3 # see:
4 # https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/attributes/default.rb
5 # https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/templates/default/gitconfig.erb
6 # (last updated for omnibus-gitlab 8.2.3+ce.0-0-g8eda093)
7 #
8 {% from 'macrolib.cfg.in' import cfg  with context %}
9
10 # don't waste memory when packing (each thread uses own work memory)
11 # besides it packs better with 1 thread
12 [pack]
13         threads = 1
14
15 # don't allow corrupt/broken objects to go in
16 [receive]
17         fsckObjects = true
18
19
20 [user]
21         name = {{ cfg('email_display_name') }}
22         email = {{ cfg('email_from') }}
23 [core]
24         autocrlf = input