From a598ded1e2e9cc9f4ce93d091808b475839e6867 Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Tue, 21 Jun 2011 08:41:16 +0200 Subject: [PATCH] gitweb: 'pickaxe' and 'grep' features requires 'search' to be enabled Both 'pickaxe' (searching changes) and 'grep' (searching files) require basic 'search' feature to be enabled to work. Enabling e.g. only 'pickaxe' won't work. Add a comment about this. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- gitweb/gitweb.perl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index f8db40a1c..2fd438905 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -320,6 +320,7 @@ our %feature = ( # Enable grep search, which will list the files in currently selected # tree containing the given string. Enabled by default. This can be # potentially CPU-intensive, of course. + # Note that you need to have 'search' feature enabled too. # To enable system wide have in $GITWEB_CONFIG # $feature{'grep'}{'default'} = [1]; @@ -334,6 +335,7 @@ our %feature = ( # Enable the pickaxe search, which will list the commits that modified # a given string in a file. This can be practical and quite faster # alternative to 'blame', but still potentially CPU-intensive. + # Note that you need to have 'search' feature enabled too. # To enable system wide have in $GITWEB_CONFIG # $feature{'pickaxe'}{'default'} = [1]; -- 2.30.2