Showing 4 changed files with 2 additions and 5 deletions
-1
.gitignore
... ...
@@ -37,4 +37,3 @@ xt/import_rep.db
37 37
 xt/import_rep_user
38 38
 xt/smart_http.db
39 39
 xt/smart_http
40
-xt/smart_http_work
-2
lib/Gitprep.pm
... ...
@@ -194,8 +194,6 @@ sub startup {
194 194
             my $r = $r->under(sub {
195 195
               my $self = shift;
196 196
               
197
-              my $paths = $self->url_for->path->parts;
198
-              
199 197
               # Basic auth when push request
200 198
               my $service = $self->param('service') || '';
201 199
               if ($service eq 'git-receive-pack') {
+2
setup.sh
... ...
@@ -1,3 +1,5 @@
1 1
 #!/bin/sh
2
+CUR_DIR_ABS=$(cd $(dirname $0); pwd)
3
+export PERL_CPANM_HOME=$CUR_DIR_ABS/setup
2 4
 perl cpanm -n -l extlib Module::CoreList
3 5
 perl -Iextlib/lib/perl5 cpanm -n -L extlib --installdeps .
-2
templates/smart-http/info-refs.html.ep
... ...
@@ -9,8 +9,6 @@
9 9
   my $git = app->git;
10 10
   my $sh = app->smart_http;
11 11
   
12
-  warn $service;
13
-  
14 12
   # Smart HTTP
15 13
   if ($service eq 'git-upload-pack' || $service eq 'git-receive-pack') {
16 14