[PATCH 0/5] gitweb: Miscellaneous improvements, in preparation for caching support
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Apr 24, 2010, 13:46 UTC
- Message-ID
- <20100424132255.30511.98829.stgit@localhost.localdomain>
Those are miscellaneous improvements to gitweb, that were part of series that adds output caching support to gitweb. Nevertheless they make sense even outside gitweb caching.
>From those "gitweb: Use nonlocal jump instead of 'exit' in die_error"
would be useful to add FastCGI (CGI::Fast or FCGI) support to gitweb.
"gitweb: Move generating page title to separate subroutine" is pure refactoring currently, but it improves code quality by reducing indent level (nesting) in git_header_html.
The patches are independent, beside "gitweb: Add custom error handler using die_error" depending on changes introduced in "gitweb: Use nonlocal jump instead of 'exit' in die_error".
---
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 testsgitweb/gitweb.perl | 69 ++++++++++++++++++++++++++++++++++++++-------------- t/test-lib.sh | 3 ++ 2 files changed, 53 insertions(+), 19 deletions(-) mode change 100644 => 100755 t/test-lib.sh
-- Jakub Narebski ShadeHawk on #git Poland