summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Thebo <adrien@puppetlabs.com>2012-03-19 01:06:00 -0700
committerAdrien Thebo <adrien@puppetlabs.com>2012-03-19 01:06:00 -0700
commitf32a3925b96aa668b0b7af9b46bc28ba76c7ca36 (patch)
treee9a74e5bed8259da5ce396e32aeaa22245871f2a
parent2f51dc75dd9b83831a89a4e3afc8df0543d8b37b (diff)
Remove debug statements
-rw-r--r--templates/gitweb.conf.erb2
1 files changed, 0 insertions, 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/);
};