Skip to content

Commit

Permalink
gitweb: Add a few comments about %feature hash
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Narebski <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
jnareb authored and Junio C Hamano committed May 15, 2007
1 parent 870e0d6 commit b4b20b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,13 @@ BEGIN
# '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
Expand Down Expand Up @@ -134,6 +137,7 @@ BEGIN

# 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]},
Expand Down

0 comments on commit b4b20b2

Please sign in to comment.