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 <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed Jun 21, 2011 at 08:41 UTC a598ded1e2e9cc9f4ce93d091808b475839e6867
1 file changed +2
gitweb/gitweb.perl
+2
@@ -320,6 +320,7 @@ our %feature = (
320 # Enable grep search, which will list the files in currently selected
321 # tree containing the given string. Enabled by default. This can be
322 # potentially CPU-intensive, of course.
323 + # Note that you need to have 'search' feature enabled too.
324
325 # To enable system wide have in $GITWEB_CONFIG
326 # $feature{'grep'}{'default'} = [1];
@@ -334,6 +335,7 @@ our %feature = (
335 # Enable the pickaxe search, which will list the commits that modified
336 # a given string in a file. This can be practical and quite faster
337 # alternative to 'blame', but still potentially CPU-intensive.
338 + # Note that you need to have 'search' feature enabled too.
339
340 # To enable system wide have in $GITWEB_CONFIG
341 # $feature{'pickaxe'}{'default'} = [1];