Skip to content

gitweb: Miscellaneous improvements, in preparation for caching support

Jakub Narebski git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Export more test-related variables when running external testst/test-lib.sh+3 -01 reply
2/5gitweb: href(..., -path_info => 0|1)gitweb/gitweb.perl+6 -10 replies
3/5gitweb: Use nonlocal jump instead of 'exit' in die_errorgitweb/gitweb.perl+3 -21 reply
4/5gitweb: Add custom error handler using die_errorgitweb/gitweb.perl+23 -40 replies
5/5gitweb: Move generating page title to separate subroutinegitweb/gitweb.perl+19 -130 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Baudis
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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.

Quoted 1 line

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 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
Signature · 3 lines
Jakub Narebski
ShadeHawk on #git
Poland