Re: [PATCH] gitweb: gitweb_check_feature always return list
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Sep 1, 2006, 19:48 UTC
- Message-ID
- <eda2q0$la8$1@sea.gmane.org>
- In-Reply-To
- <7vk64n5qep.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 12 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
>
>> Modified feature_blame so it returns one-element list and not scalar,
>> thus making gitweb_check_feature always return list. Updated comment
>> to explain that part.
>
> I do not understand what you are fixing.
>
> sub A { return (1); }
> sub B { return 1; }
>
> Don't they quack the same way?Well, that is just nitpicking. gitweb_check_feature returns list if feature is not overridable, so I made it that it always returns list.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git