projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a80ec
)
gitweb: Make project specific override for 'grep' feature work
author
Jakub Narebski
<jnareb@gmail.com>
Sun, 7 Dec 2008 09:36:36 +0000
(10:36 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 7 Dec 2008 10:52:37 +0000
(
02:52
-0800)
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>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index eae5084c669ecd5213e5a9b664662b234b5fff5f..ced7bb740f45858671d6b9fdb83fd13f15d18c1d 100755
(executable)
--- 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]},