Re: [PATCH] gitweb: Support for snapshot
- From
Aneesh Kumar K.V <aneesh.kumar@gmail.com>
- Date
- Aug 19, 2006, 11:58 UTC
- Message-ID
- <ec6uct$jdb$1@sea.gmane.org>
- In-Reply-To
- <ec6rol$dbe$1@sea.gmane.org>
Jakub Narebski wrote:
Show 9 quoted lines
> Junio C Hamano wrote:
>
>> * The value of the hash is an array whose first two elements
>> are a sub and a bool, and the rest of the elements are the
>> default values of feature specific parameters.
>
> Which means that it is not that easy to change defaults from
> $GITWEB_CONFIG ($feature{'blame'}->[1] = 1; ?).
> how about
'blame' => [\&feature_blame, $feature_blame_override, 0],
and picking only $feature_blame_override from $GITWEB_CONFIG
-aneesh