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

Re: [PATCH 0/5] gitweb: Miscellaneous improvements, in preparation for caching support

From
Jakub Narebski <jnareb@gmail.com>
Date
Apr 25, 2010, 11:45 UTC
Message-ID
<201004251346.01183.jnareb@gmail.com>
In-Reply-To
<20100425092035.GO3563@machine.or.cz>
Petr Baudis wrote:
Show 11 quoted lines
> On Sat, Apr 24, 2010 at 03:46:25PM +0200, Jakub Narebski wrote:
> > Jakub Narebski (5):
> >       gitweb: Move generating page title to separate subroutine
> >       gitweb: Add custom error handler using die_error
> >       gitweb: Use nonlocal jump instead of 'exit' in die_error
> >       gitweb: href(..., -path_info => 0|1)
> >       Export more test-related variables when running external tests
> > 
> >  gitweb/gitweb.perl |   69 ++++++++++++++++++++++++++++++++++++++--------------
> >  t/test-lib.sh      |    3 ++
> >  2 files changed, 53 insertions(+), 19 deletions(-)
> >  mode change 100644 => 100755 t/test-lib.sh
Ooops, the mode change was accidental.
> 
> Except the last one, I don't think the patches bring something useful
> in on their own so ordinarily they would probably have to be a part of
> some series that makes use of them, but there's no harm done either.

Actually "gitweb: Use nonlocal jump instead of 'exit' in die_error" could in theory improve performance of gitweb on mod_perl, but I have not benchmarked it...

-- 
Jakub Narebski
Poland
Previous: Petr Baudis
Message 10 of 10 in “gitweb: Miscellaneous improvements, in preparation for caching support”
  1. 0/5 gitweb: Miscellaneous improvements, in preparation for caching supportJakub Narebski, Apr 24, 2010
  2. 1/5 Export more test-related variables when running external testsJakub Narebski, Apr 24, 2010
  3. Jakub NarebskiApr 25, 2010
  4. 2/5 gitweb: href(..., -path_info => 0|1)Jakub Narebski, Apr 24, 2010
  5. 3/5 gitweb: Use nonlocal jump instead of 'exit' in die_errorJakub Narebski, Apr 24, 2010
  6. Jakub NarebskiMay 4, 2010
  7. 4/5 gitweb: Add custom error handler using die_errorJakub Narebski, Apr 24, 2010
  8. 5/5 gitweb: Move generating page title to separate subroutineJakub Narebski, Apr 24, 2010
  9. Petr BaudisApr 25, 2010
  10. Jakub NarebskiApr 25, 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.