Logoj0ke.net Open Build Service > Projects > devel > git > cgitrc
Sign Up | Log In

File cgitrc of Package git

 
1
# Enable caching of up to 1000 output entriess
2
cache-size=1000
3
4
# Specify some default clone prefixes
5
clone-prefix=ssh://domain.com/var/git
6
7
# Specify the css url
8
css=/git/cgit.css
9
10
# Specify the logo url
11
logo=/git/cgit.png
12
13
# Show extra links for each repository on the index page
14
enable-index-links=1
15
16
# Show number of affected files per commit on the log pages
17
enable-log-filecount=1
18
19
# Show number of added/removed lines per commit on the log pages
20
enable-log-linecount=1
21
22
# Set the title and heading of the repository index page
23
root-title=git repositories
24
25
# Allow download of tar.gz, tar.bz2 and zip-files
26
snapshots=tar.gz tar.bz2 zip
27
28
29
##
30
## List of common mimetypes
31
##
32
33
mimetype.git=image/git
34
mimetype.html=text/html
35
mimetype.jpg=image/jpeg
36
mimetype.jpeg=image/jpeg
37
mimetype.pdf=application/pdf
38
mimetype.png=image/png
39
mimetype.svg=image/svg+xml
40
41
42
##
43
## List of repositories.
44
## PS: Any repositories listed when section is unset will not be
45
##     displayed under a section heading
46
## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
47
##      and included like this:
48
##        include=/etc/cgitrepos
49
##
50
51
# Add your repositories here.
52
#
53
# Examples:
54
#
55
# repo.url=main
56
# repo.path=/var/git/main.git
57
# repo.desc=Main repository
58
# repo.owner=your.email@domain.com
59
#
60
# repo.url=secondary
61
# repo.path=/var/git/ut.git
62
# repo.desc=Secondary repository
63
# repo.owner=another.email@domain.com
64