author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 26 Sep 2010 11:34:56 +0000 (13:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 30 Sep 2010 18:47:19 +0000 (11:47 -0700) | ||
commit | 8ff76f4c3b4e72ac8259465bdf6e33f4da19170d | |
tree | e0038117fca37bf8fd782153f16166bd22261230 | tree | snapshot |
parent | 9855b08d35edf8a8a441f24ff7b00e220a29f261 | commit | diff |
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | diff | blob | history |