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