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