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