Skip to content

Commit ff3c0ff

Browse files
Oblomovgitster
authored andcommitted
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>
1 parent dcbe0bd commit ff3c0ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

gitweb/gitweb.perl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ BEGIN
190190
# if there is no 'sub' key (no feature-sub), then feature cannot be
191191
# overriden
192192
#
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
194196

195197
# Enable the 'blame' blob view, showing the last commit that modified
196198
# each line in the file. This can be very CPU-intensive.

0 commit comments

Comments
 (0)