|
|
6ced29 |
# The gitweb config file is a fragment of perl code. You can set variables
|
|
|
6ced29 |
# using "our $variable = value"; text from "#" character until the end of a
|
|
|
6ced29 |
# line is ignored. See perlsyn(1) man page for details.
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# See /usr/share/doc/gitweb-*/README and /usr/share/doc/gitweb-*/INSTALL for
|
|
|
6ced29 |
# more details and available configuration variables.
|
|
|
6ced29 |
|
|
|
6ced29 |
# Set the path to git projects. This is an absolute filesystem path which will
|
|
|
6ced29 |
# be prepended to the project path.
|
|
|
6ced29 |
#our $projectroot = "@PROJECTROOT@";
|
|
|
6ced29 |
|
|
|
6ced29 |
# Set the list of git base URLs used for URL to where fetch project from, i.e.
|
|
|
6ced29 |
# the full URL is "$git_base_url/$project". By default this is empty
|
|
|
6ced29 |
#our @git_base_url_list = qw(git://git.example.com
|
|
|
6ced29 |
# ssh://git.example.com@PROJECTROOT@);
|
|
|
6ced29 |
|
|
|
6ced29 |
# Enable the 'blame' blob view, showing the last commit that modified
|
|
|
6ced29 |
# each line in the file. This can be very CPU-intensive. Disabled by default
|
|
|
6ced29 |
#$feature{'blame'}{'default'} = [1];
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# Allow projects to override the default setting via git config file.
|
|
|
6ced29 |
# Example: gitweb.blame = 0|1;
|
|
|
6ced29 |
#$feature{'blame'}{'override'} = 1;
|
|
|
6ced29 |
|
|
|
6ced29 |
# Disable the 'snapshot' link, providing a compressed archive of any tree. This
|
|
|
6ced29 |
# can potentially generate high traffic if you have large project. Enabled for
|
|
|
6ced29 |
# .tar.gz snapshots by default.
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# Value is a list of formats defined in %known_snapshot_formats that you wish
|
|
|
6ced29 |
# to offer.
|
|
|
6ced29 |
#$feature{'snapshot'}{'default'} = [];
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# Allow projects to override the default setting via git config file.
|
|
|
6ced29 |
# Example: gitweb.snapshot = tbz2,zip; (use "none" to disable)
|
|
|
6ced29 |
#$feature{'snapshot'}{'override'} = 1;
|
|
|
6ced29 |
|
|
|
6ced29 |
# Disable grep search, which will list the files in currently selected tree
|
|
|
6ced29 |
# containing the given string. This can be potentially CPU-intensive, of
|
|
|
6ced29 |
# course. Enabled by default.
|
|
|
6ced29 |
#$feature{'grep'}{'default'} = [0];
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# Allow projects to override the default setting via git config file.
|
|
|
6ced29 |
# Example: gitweb.grep = 0|1;
|
|
|
6ced29 |
#$feature{'grep'}{'override'} = 1;
|
|
|
6ced29 |
|
|
|
6ced29 |
# Disable the pickaxe search, which will list the commits that modified a given
|
|
|
6ced29 |
# string in a file. This can be practical and quite faster alternative to
|
|
|
6ced29 |
# 'blame', but still potentially CPU-intensive. Enabled by default.
|
|
|
6ced29 |
#$feature{'pickaxe'}{'default'} = [0];
|
|
|
6ced29 |
#
|
|
|
6ced29 |
# Allow projects to override the default setting via git config file.
|
|
|
6ced29 |
# Example: gitweb.pickaxe = 0|1;
|
|
|
6ced29 |
#$feature{'pickaxe'}{'override'} = 1;
|