summaryrefslogtreecommitdiff
path: root/t/t5515/refs.br-remote-glob-merge
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2010-07-05 20:52:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-07-05 13:28:20 -0700
commit869d58813b24c74e84c9388041eafcef40cb51e4 (patch)
treead100e82e6fdaaf744606c5bde0d8e440f6b58a4 /t/t5515/refs.br-remote-glob-merge
parentparse_date: fix signedness in timezone calculation (diff)
downloadtgif-869d58813b24c74e84c9388041eafcef40cb51e4.tar.xz
gitweb: Move evaluate_gitweb_config out of run_request
Move evaluate_gitweb_config() and evaluate_git_version() out of run_request() to run(), making them not run one for each request. This changes how git behaves in FastCGI case. This change makes it impossible to have config which changes with request, but I don't think anyone relied on such (hidden action) behavior. While at it, reset timer and number of git commands at beginning of run_request() in new reset_timer() subroutine. This fixes case when gitweb was run using FastCGI interface: time is reported for request, and not for single run of gitweb script. This changes slightly behavior in non-FastCGI case: the number of git commands reported is 1 less (running `git --version` one per gitweb is not counted now). Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/refs.br-remote-glob-merge')
0 files changed, 0 insertions, 0 deletions