Add $blamejs for the incremental blame view
[girocco/ztw.git] / gitweb_config.perl
bloba815a7fe35e6aff83073ed4c0ab8473fb0be85f6
1 ## core git executable to use
2 ## this can just be "git" if your webserver has a sensible PATH
3 our $GIT = "/home/pasky/bin/git";
5 ## absolute fs-path which will be prepended to the project path
6 ##our $projectroot = "/pub/scm";
7 #our $projectroot = "/srv/git";
8 $projectroot = "/srv/git";
10 ## target of the home link on top of all pages
11 #our $home_link = $my_uri || "/";
12 $home_link = "/";
14 ## string of the home link on top of all pages
15 #our $home_link_str = "projects";
16 $home_link_str = "repo.or.cz";
18 ## name of your site or organization to appear in page titles
19 ## replace this with something more descriptive for clearer bookmarks
20 #our $site_name = "" || $ENV{'SERVER_NAME'} || "Untitled";
21 $site_name = "Public Git Hosting";
23 ## html text to include at home page
24 #our $home_text = "indextext.html";
26 ## URI of default stylesheet
27 #our $stylesheet = "gitweb.css";
28 $stylesheet = "/gitweb.css";
29 ## URI of blame.js
30 $blamejs = "/blame.js";
31 ## URI of GIT logo
32 #our $logo = "git-logo.png";
33 $logo = "/git-logo.png";
34 ## URI of GIT favicon, assumed to be image/png type
35 #our $favicon = "git-favicon.png";
36 $favicon = "/git-favicon.png";
38 ## source of projects list
39 #our $projects_list = "";
41 ## show repository only if this file exists
42 ## (only effective if this variable evaluates to true)
43 #our $export_ok = "";
45 ## only allow viewing of repositories also shown on the overview page
46 #our $strict_export = "";
48 ## list of git base URLs used for URL to where fetch project from,
49 ## i.e. full URL is "$git_base_url/$project"
50 @git_base_url_list = ("git://repo.or.cz", "http://repo.or.cz/r");
52 ## default blob_plain mimetype and default charset for text/plain blob
53 #our $default_blob_plain_mimetype = 'text/plain';
54 #our $default_text_plain_charset = undef;
56 ## file to use for guessing MIME types before trying /etc/mime.types
57 ## (relative to the current git repository)
58 #our $mimetypes_file = undef;
60 ## You define site-wide feature defaults here; override them with
61 ## $GITWEB_CONFIG as necessary.
62 #our %feature = (
63 # # feature => {
64 # # 'sub' => feature-sub (subroutine),
65 # # 'override' => allow-override (boolean),
66 # # 'default' => [ default options...] (array reference)}
67 # #
68 # # if feature is overridable (it means that allow-override has true value,
69 # # then feature-sub will be called with default options as parameters;
70 # # return value of feature-sub indicates if to enable specified feature
71 # #
72 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
74 # 'blame' => {
75 # 'sub' => \&feature_blame,
76 # 'override' => 0,
77 # 'default' => [0]},
79 # 'snapshot' => {
80 # 'sub' => \&feature_snapshot,
81 # 'override' => 0,
82 # # => [content-encoding, suffix, program]
83 # 'default' => ['x-gzip', 'gz', 'gzip']},
85 # 'pickaxe' => {
86 # 'sub' => \&feature_pickaxe,
87 # 'override' => 0,
88 # 'default' => [1]},
89 #);
90 $feature{'blame'}{'default'} = [1];
91 $feature{'pathinfo'}{'default'} = [1];
92 $feature{'forks'}{'default'} = [1];
93 $my_uri = 'http://repo.or.cz/w';