Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Add a few comments about %feature hash
author
Jakub Narebski
<jnareb@gmail.com>
Mon, 14 May 2007 23:55:44 +0000
(
01:55
+0200)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 15 May 2007 00:26:46 +0000
(17:26 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
870e0d6
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 12c2e6685ec9378d43433d1f73b6f2c13c4f7ffd..7b520f5fc1f292d66a1958fbe09b44debc8bab7b 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-98,10
+98,13
@@
BEGIN
# 'override' => allow-override (boolean),
# 'default' => [ default options...] (array reference)}
#
# 'override' => allow-override (boolean),
# 'default' => [ default options...] (array reference)}
#
- # if feature is overridable (it means that allow-override has true value,
+ # if feature is overridable (it means that allow-override has true value
)
,
# then feature-sub will be called with default options as parameters;
# return value of feature-sub indicates if to enable specified feature
#
# then feature-sub will be called with default options as parameters;
# return value of feature-sub indicates if to enable specified feature
#
+ # if there is no 'sub' key (no feature-sub), then feature cannot be
+ # overriden
+ #
# use gitweb_check_feature(<feature>) to check if <feature> is enabled
# Enable the 'blame' blob view, showing the last commit that modified
# use gitweb_check_feature(<feature>) to check if <feature> is enabled
# Enable the 'blame' blob view, showing the last commit that modified
@@
-134,6
+137,7
@@
BEGIN
# Enable text search, which will list the commits which match author,
# committer or commit text to a given string. Enabled by default.
# Enable text search, which will list the commits which match author,
# committer or commit text to a given string. Enabled by default.
+ # Project specific override is not supported.
'search' => {
'override' => 0,
'default' => [1]},
'search' => {
'override' => 0,
'default' => [1]},