Skip to content

Commit

Permalink
gitweb: Make project specific override for 'grep' feature work
Browse files Browse the repository at this point in the history
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 <kraai@ftbfs.org>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Dec 7, 2008
1 parent e4a80ec commit bcc6a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ BEGIN
# $feature{'grep'}{'override'} = 1;
# and in project config gitweb.grep = 0|1;
'grep' => {
'sub' => \&feature_grep,
'override' => 0,
'default' => [1]},

Expand Down

0 comments on commit bcc6a83

Please sign in to comment.