gitweb: Improve reading of repo config
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | gitweb: Add tests for overriding gitweb config with repo configt/ | +23 | 0 replies | |
| 2/3 | gitweb: Read repo config using 'git config -z -l'gitweb/ | +108 | 0 replies | |
| 3/3 | gitweb: Use config file for repository description and URLsgitweb/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] gitweb: Improve reading of repo config
This series of patches introduces single-call reading of gitweb-related part of repository configuration in gitweb. Instead of calling git-config once for each config variable we check, read all variables at once for first request of repo config variable.
First patch adds test to check if our changes do not break gitweb too badly, second one introduces mentioned above "eager" repo config reading, and third makes use of the fact that adding new configuration variables to check is not that costly now.
Table of contents:
==================
[PATCH 1/3] gitweb: Add tests for overriding gitweb config with repo config [PATCH 2/3] gitweb: Read repo config using 'git config -z -l' [PATCH 3/3] gitweb: Use config file for repository description and URLs
Diffstat:
=========
gitweb/gitweb.perl | 82 +++++++++++++++++++++---------------------------- 1 files changed, 33 insertions(+), 47 deletions(-)
Signature · 2 lines
Jakub Narebski, Poland git version 1.5.3.5