]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Add a few comments about %feature hash
[Gitweb] / gitweb.perl
index 92b6447f7c5e92feea299f8f492e3e36531155fc7a99a47e160a2d83ad0f8af5..3e951b7ea99dc1d4fc4f46e4b0e57264160779be239c28f83ef2af7719c63def 100755 (executable)
@@ -103,10 +103,13 @@ our %feature = (
        #       '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
        #
+       # 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
@@ -139,6 +142,7 @@ our %feature = (
 
        # 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]},
This page took 0.188691 seconds and 4 git commands to generate.