]> Lady’s Gitweb - Gitweb/commitdiff
Update comment on gitweb_check/get_feature
authorGiuseppe Bilotta <redacted>
Tue, 2 Dec 2008 22:57:28 +0000 (14:57 -0800)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:38 +0000 (00:50 -0400)
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 <redacted>
gitweb.perl

index 74900c0dd8e49d1d130f64c991da603e278b41ef4f3f397433d926771145af7f..cf71eb95e40915cbca67d620e07c8b9285faca04b1d49de7acea0f7556ed9de5 100755 (executable)
@@ -191,7 +191,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.
This page took 0.274866 seconds and 4 git commands to generate.