Skip to content

Instantly share code, notes, and snippets.

@bentglasstube bentglasstube/gitweb.conf
Last active Oct 1, 2015

What would you like to do?
# path to git projects (<project>.git)
$projectroot = "/home/git/repositories/";
# directory to use for temp files
$git_temp = "/tmp";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = "/home/git/projects.list";
# stylesheet to use
@stylesheets = ("static/gitweb.css");
# javascript code for gitweb
$javascript = "static/gitweb.js";
# the 'favicon'
$favicon = "static/eab-favicon.png";
# git-diff-tree(1) options to use for generated patches
@diff_opts = ();
### secret shit not in the docs (angryface)
# enable nicer uris
$feature{pathinfo}{default} = [1];
# root link text
$home_link_str = '';
$site_name = '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.