Update comment on gitweb_check/get_feature
This is taken from a patch from Giuseppe but unfortunately it came too late to replace the series that was already on "next". The comment he updated here is better than the version we had previously, so I am cherry-picking this bit not to lose it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Giuseppe Bilotta committed
Dec 2, 2008 at 14:57 UTC
ff3c0ff20e2c0b2c78d2c2da9ce4eb0739ff6ced
1 file changed
+3
-1
gitweb/gitweb.perl
+3
-1
@@ -190,7 +190,9 @@ our %feature = (
190
# if there is no 'sub' key (no feature-sub), then feature cannot be
191
# overriden
192
#
193
- # use gitweb_check_feature(<feature>) to check if <feature> is enabled
193
+ # use gitweb_get_feature(<feature>) to retrieve the <feature> value
194
+ # (an array) or gitweb_check_feature(<feature>) to check if <feature>
195
+ # is enabled
196
197
# Enable the 'blame' blob view, showing the last commit that modified
198
# each line in the file. This can be very CPU-intensive.