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

Re: gitweb.perl suggestion

From
Jakub Narebski <jnareb@gmail.com>
Date
Jul 8, 2010, 19:01 UTC
Message-ID
<201007082101.41286.jnareb@gmail.com>
In-Reply-To
<19510.3108.337932.666012@winooski.ccs.neu.edu>
Eli Barzilay wrote:
Show 11 quoted lines
> On Jul  8, Jakub Narebski wrote:
> > 
> > So your proposed solution is good enough, but perhaps better would
> > be to leave 'action' unset if there is no parent info?  Then
> > dispatch would guess action, instead of doing it in less
> > sophisticated way in evaluate_path_info().
> 
> Ah, looking at the dispatch point, I see what you're talking about.
> But that sounds like a larger change to the code -- since it would
> probably lead to more default actions that get determined in dispatch
> instead of earlier.

I don't remember if it was the real reson why http://gitweb/project/<object> defaults to 'shortlog' action, but <object> can be commit, but can be also tag. The 'shortlog' action makes sense for both... assuming that tag points to a commit object, that is.

P.S. As usual, patches welcome...
-- 
Jakub Narebski
Poland
Previous: Eli BarzilayNext: Eli Barzilay
Message 4 of 5 in “gitweb.perl suggestion”
  1. Eli BarzilayJul 8, 2010
  2. Jakub NarebskiJul 8, 2010
  3. Eli BarzilayJul 8, 2010
  4. Jakub NarebskiJul 8, 2010
  5. Eli BarzilayJul 8, 2010

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.