From: Jakub Narebski Date: Sun, 7 Dec 2008 09:36:36 +0000 (+0100) Subject: gitweb: Make project specific override for 'grep' feature work X-Git-Tag: v1.6.0.5~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bcc6a833032e0830195c1de1b834006a1d0156fe;p=git.git gitweb: Make project specific override for 'grep' feature work The 'grep' feature was marked in the comments as having project specific config, but it lacked 'sub' key required for it to work. Kind-of-Noticed-by: Matt Kraai Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index eae5084c6..ced7bb740 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -232,6 +232,7 @@ our %feature = ( # $feature{'grep'}{'override'} = 1; # and in project config gitweb.grep = 0|1; 'grep' => { + 'sub' => \&feature_grep, 'override' => 0, 'default' => [1]},