]>
Commit | Line | Data |
---|---|---|
9099585c SS |
1 | # The gitweb config file is a fragment of perl code. You can set variables |
2 | # using "our $variable = value"; text from "#" character until the end of a | |
3 | # line is ignored. See perlsyn(1) man page for details. | |
4 | # | |
5 | # See /usr/share/doc/gitweb-*/README and /usr/share/doc/gitweb-*/INSTALL for | |
6 | # more details and available configuration variables. | |
7 | ||
8 | # Set the path to git projects. This is an absolute filesystem path which will | |
9 | # be prepended to the project path. | |
10 | #our $projectroot = "/var/lib/git"; | |
11 | ||
12 | # Set the list of git base URLs used for URL to where fetch project from, i.e. | |
13 | # the full URL is "$git_base_url/$project". By default this is empty | |
14 | #our @git_base_url_list = qw(git://git.example.com | |
15 | # ssh://git.example.com@PROJECTROOT@); | |
16 | ||
17 | # Enable the 'blame' blob view, showing the last commit that modified | |
18 | # each line in the file. This can be very CPU-intensive. Disabled by default | |
19 | #$feature{'blame'}{'default'} = [1]; | |
20 | # | |
21 | # Allow projects to override the default setting via git config file. | |
22 | # Example: gitweb.blame = 0|1; | |
23 | #$feature{'blame'}{'override'} = 1; | |
24 | ||
25 | # Disable the 'snapshot' link, providing a compressed archive of any tree. This | |
26 | # can potentially generate high traffic if you have large project. Enabled for | |
27 | # .tar.gz snapshots by default. | |
28 | # | |
29 | # Value is a list of formats defined in %known_snapshot_formats that you wish | |
30 | # to offer. | |
31 | #$feature{'snapshot'}{'default'} = []; | |
32 | # | |
33 | # Allow projects to override the default setting via git config file. | |
34 | # Example: gitweb.snapshot = tbz2,zip; (use "none" to disable) | |
35 | #$feature{'snapshot'}{'override'} = 1; | |
36 | ||
37 | # Disable grep search, which will list the files in currently selected tree | |
38 | # containing the given string. This can be potentially CPU-intensive, of | |
39 | # course. Enabled by default. | |
40 | #$feature{'grep'}{'default'} = [0]; | |
41 | # | |
42 | # Allow projects to override the default setting via git config file. | |
43 | # Example: gitweb.grep = 0|1; | |
44 | #$feature{'grep'}{'override'} = 1; | |
45 | ||
46 | # Disable the pickaxe search, which will list the commits that modified a given | |
47 | # string in a file. This can be practical and quite faster alternative to | |
48 | # 'blame', but still potentially CPU-intensive. Enabled by default. | |
49 | #$feature{'pickaxe'}{'default'} = [0]; | |
50 | # | |
51 | # Allow projects to override the default setting via git config file. | |
52 | # Example: gitweb.pickaxe = 0|1; | |
53 | #$feature{'pickaxe'}{'override'} = 1; |