Skip to content

Commit

Permalink
Merge branch 'jn/maint-gitweb-dynconf'
Browse files Browse the repository at this point in the history
* jn/maint-gitweb-dynconf:
  gitweb: allow configurations that change with each request
  • Loading branch information
Junio C Hamano committed Aug 13, 2010
2 parents 14661fe + 7f425db commit 2dc3b19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1060,8 +1060,12 @@ sub run_request {
reset_timer();

evaluate_uri();
evaluate_gitweb_config();
check_loadavg();

# $projectroot and $projects_list might be set in gitweb config file
$projects_list ||= $projectroot;

evaluate_query_params();
evaluate_path_info();
evaluate_and_validate_params();
Expand Down Expand Up @@ -1109,12 +1113,8 @@ sub evaluate_argv {

sub run {
evaluate_argv();
evaluate_gitweb_config();
evaluate_git_version();

# $projectroot and $projects_list might be set in gitweb config file
$projects_list ||= $projectroot;

$pre_listen_hook->()
if $pre_listen_hook;

Expand Down

0 comments on commit 2dc3b19

Please sign in to comment.