From 46b05e7361acbee766a6eeb9fa2d4278b5f661bf Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Wed, 4 Nov 2009 00:19:00 +0100 Subject: [PATCH] Update $frontpage_no_project_list docs wrt. the cache --- gitweb/README | 3 ++- gitweb/gitweb.perl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gitweb/README b/gitweb/README index 100b1cc972..7a9e983738 100644 --- a/gitweb/README +++ b/gitweb/README @@ -227,7 +227,8 @@ not include variables usually directly set during build): If 0, the gitweb frontpage will contain the project list; if 1 instead, it will contain just the index text, search form, tag cloud (if enabled) and a link to the actual project list. The page is reduced, but all - projects still need to be scanned for the tag cloud construction. If the + projects still need to be scanned for the tag cloud construction (but + the project info cache is used if enabled, of course). If the option is set to 2, not even the tag cloud will be shown; this is fastest. This option is useful for sites with large amount of projects. The default is 0. diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 3f435d624b..6461c2da81 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -154,7 +154,8 @@ our $prevent_xss = 0; # Whether to include project list on the gitweb front page; 0 means yes, # 1 means no list but show tag cloud if enabled (all projects still need -# to be scanned), 2 means no list and no tag cloud (very fast) +# to be scanned, unless the info is cached), 2 means no list and no tag cloud +# (very fast) our $frontpage_no_project_list = 0; # projects list cache for busy sites with many projects; -- 2.11.4.GIT