blob: b84b44177902501c46698c6f62347fbc4071420d (
plain) (
blame)
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
|
# cgitrc(5)
# Enable caching of html files to /var/cache/cgit (unit is objects).
cache-size=1000
root-title=git.memzero.de
root-desc=private git repostitory
clone-url=https://git.memzero.de/$CGIT_REPO_URL ssh://git.memzero.de/$CGIT_REPO_URL git@git.memzero.de:$CGIT_REPO_URL
virtual-root=/
enable-blame=1
enable-git-config=1
enable-http-clone=1
enable-commit-graph=1
enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
snapshots=tar.gz zip
# -- Cosmetics
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
remove-suffix=1
section-from-path=1
# -- About page
# Global default files to look for to render the repos about page (first match taken).
#
# Leading colon means to search for <readme> file relative from remote HEAD
# (aka default branch).
# Cgit allows to specify a different refspec (<ref>:<readme>) to render the
# about page, however this is mainly useful for repo specific settings.
readme=:README.md
readme=:README.txt
# -- Repositories
#
# Scan *scan-path* for repositories. Since *project-list* is specified before,
# only look for paths from the project list relative to the scan path.
project-list=/var/lib/git/projects.list
scan-path=/var/lib/git/repositories
|