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