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