mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
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 <kraai@ftbfs.org> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e4a80ecf40
commit
bcc6a83303
|
@ -232,6 +232,7 @@ BEGIN
|
||||||
# $feature{'grep'}{'override'} = 1;
|
# $feature{'grep'}{'override'} = 1;
|
||||||
# and in project config gitweb.grep = 0|1;
|
# and in project config gitweb.grep = 0|1;
|
||||||
'grep' => {
|
'grep' => {
|
||||||
|
'sub' => \&feature_grep,
|
||||||
'override' => 0,
|
'override' => 0,
|
||||||
'default' => [1]},
|
'default' => [1]},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue