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