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