From f32a3925b96aa668b0b7af9b46bc28ba76c7ca36 Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Mon, 19 Mar 2012 01:06:00 -0700 Subject: Remove debug statements --- templates/gitweb.conf.erb | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb index 04b2dca..7774ed2 100644 --- a/templates/gitweb.conf.erb +++ b/templates/gitweb.conf.erb @@ -56,13 +56,11 @@ $ENV{GL_REPO_BASE_ABS} = $projectroot; $export_auth_hook = sub { my $repo = shift; - print "projects_list: $projects_list\n"; # gitweb passes us the full repo path; so we strip the beginning # and the end, to get the repo name as it is specified in gitolite conf return unless $repo =~ s!^\Q<%= project_root %>\E\/?(.+)\.git$!$1!; # check for (at least) "R" permission my ($perm, $creator) = &repo_rights($repo); - print STDERR "user: $ENV{GL_USER} repo: $repo perms: $perm creator: $creator thing \n"; return ($perm =~ /R/); }; -- cgit v1.2.3