]> Lady’s Gitweb - Gitweb/commit
gitweb: Move call to evaluate_git_version after evaluate_gitweb_config
authorJakub Narebski <redacted>
Sun, 26 Sep 2010 11:34:56 +0000 (13:34 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:30 +0000 (00:51 -0400)
commit4c5364374e5086b5076bbe3730d6e7af8b0960bb722eed751835d6346b65263e
treee8242f0f9054358cc24401973a32277b751da5603819b2de9d95b8f62cfd6057
parentc9e33b0d4c7baa3f960c7b43975ba9715a98ad6cf681c6ffcb7723ceffb4a277
gitweb: Move call to evaluate_git_version after evaluate_gitweb_config

Now evaluate_git_version() is inside run_request() to be called for each
request, instead of once per starting gitweb; this currently matters only
when using FastCGI interface (gitweb.fcgi).

This change was done because evaluate_git_version() uses $GIT variable,
which can be set / modified by gitweb config file, but the variable is
modified this way by gitweb config file used in gitweb tests.  Without
this change there is spurious extra output from t9500 test when tests are
run with '--debug' option.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.164583 seconds and 4 git commands to generate.