{"thread":{"id":"8158","subject":"[PATCH] gitweb: Add a few comments about %feature hash","startedAt":"2007-05-14T23:55:44Z","lastAt":"2007-05-15T00:26:50Z","messageCount":2,"participants":["Jakub Narebski","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"42175","messageId":"11791869442413-git-send-email-jnareb@gmail.com","threadId":"8158","inReplyTo":null,"subject":"[PATCH] gitweb: Add a few comments about %feature hash","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-05-14T23:55:44Z","receivedAt":"2007-05-14T23:55:44Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Signed-off-by: Jakub Narebski <jnareb@gmail.com>\n---\n gitweb/gitweb.perl |    6 +++++-\n 1 files changed, 5 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex c2eeca9..a13043d 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -102,10 +102,13 @@ our %feature = (\n \t# \t'override' => allow-override (boolean),\n \t# \t'default' => [ default options...] (array reference)}\n \t#\n-\t# if feature is overridable (it means that allow-override has true value,\n+\t# if feature is overridable (it means that allow-override has true value),\n \t# then feature-sub will be called with default options as parameters;\n \t# return value of feature-sub indicates if to enable specified feature\n \t#\n+\t# if there is no 'sub' key (no feature-sub), then feature cannot be\n+\t# overriden\n+\t#\n \t# use gitweb_check_feature(<feature>) to check if <feature> is enabled\n \n \t# Enable the 'blame' blob view, showing the last commit that modified\n@@ -138,6 +141,7 @@ our %feature = (\n \n \t# Enable text search, which will list the commits which match author,\n \t# committer or commit text to a given string.  Enabled by default.\n+\t# Project specific override is not supported.\n \t'search' => {\n \t\t'override' => 0,\n \t\t'default' => [1]},\n-- \n1.5.1.4\n"},{"id":"42181","messageId":"7vr6pjkk39.fsf@assigned-by-dhcp.cox.net","threadId":"8158","inReplyTo":"11791869442413-git-send-email-jnareb@gmail.com","subject":"Re: [PATCH] gitweb: Add a few comments about %feature hash","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2007-05-15T00:26:50Z","receivedAt":"2007-05-15T00:26:50Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}