blob: 6fa0f62f9a8a22036ba377da0b1feab082dcd189 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# https://linux.die.net/man/5/cgitrc
root-title=git.zue.dev
root-desc=If it's on this site, I'm working on it.
root-readme=/root-readme.html
header=/header.html
css=/cgit.css
# filter to generate the "about" page for repositories
about-filter=/usr/lib/cgit/filters/about-formatting.sh
# enable commit graph on repo "log" page
enable-commit-graph=1
# disable showing owner of the repository
enable-index-owner=0
# enable printing the number of modified files for each commit on the repository log page
enable-log-filecount=1
# enable printing the number of added and removed lines for each commit on the repository log page
enable-log-linecount=1
# use git config to set any repo specific settings
enable-git-config=1
# enable showing remote branches
enable-remote-branches=1
# enable snapshot downloads
snapshots=tar tar.gz tar.bz2 tar.xz zip
# disable cache to make sure cgit always shows the latest changes
cache-size=0
# Keep readme entries above scan-path. cgit applies readme defaults while
# scanning repositories, so moving this block below scan-path can hide the
# repo About page.
# Search these filenames in the default branch for repository About content.
readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install
scan-path=/srv/git
# maximum length of the repository description shown on the index page
max-repodesc-length=1000
# enable stats
max-stats=year
# use the first path component of the repository path as the section name
section-from-path=1
# this has to be empty for cgit to work with a reverse proxy
virtual-root=
|