X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/7fc1fc1c208275728e59ce86b66db472832cf1102472667917a31022d0947579..65a241171ba67667f2b5dce5f61df506f2c864b684f375e63b94d0d40817e5a1:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 92b6447..3e951b7 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -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() to check if 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]},