Code

Update comment on gitweb_check/get_feature
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 2 Dec 2008 22:57:28 +0000 (14:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Dec 2008 23:28:36 +0000 (15:28 -0800)
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>
gitweb/gitweb.perl

index acc4cfdcda564049bcc861840eb7c78be6d93d06..2738643950d6f2c0aa15875014c7364b2ee0286d 100755 (executable)
@@ -190,7 +190,9 @@ our %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
+       # use gitweb_get_feature(<feature>) to retrieve the <feature> value
+       # (an array) or gitweb_check_feature(<feature>) to check if <feature>
+       # is enabled
 
        # Enable the 'blame' blob view, showing the last commit that modified
        # each line in the file. This can be very CPU-intensive.