git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitweb: gitweb_check_feature always return list

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 1, 2006, 20:12 UTC
Message-ID
<eda475$ob7$1@sea.gmane.org>
In-Reply-To
<eda2q0$la8$1@sea.gmane.org>
<opublikowany i wysłany>
Jakub Narebski wrote:
Show 17 quoted lines
> Junio C Hamano wrote:
> 
>> 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.
Then I'm not sure if Aneesh Kumar patch I replied to is really necessary.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git



-- 
VGER BF report: U 0.499824
Previous: Jakub Narebski
Message 6 of 6 in “gitweb: Fix git_blame”
  1. gitweb: Fix git_blameAneesh Kumar K.V, Sep 1, 2006
  2. Jakub NarebskiSep 1, 2006
  3. gitweb: gitweb_check_feature always return listJakub Narebski, Sep 1, 2006
  4. Junio C HamanoSep 1, 2006
  5. Jakub NarebskiSep 1, 2006
  6. Jakub NarebskiSep 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.