]> Sergey Matveev's repositories - public-inbox.git/blobdiff - examples/public-inbox.psgi
githttpbackend: simplify compatibility code
[public-inbox.git] / examples / public-inbox.psgi
index e97f917fbe8bdd46a3569f982bdde0212ae91cfc..98cde92d3d25566a94898264aef18c9415fab7b2 100644 (file)
@@ -14,6 +14,7 @@ my $www = PublicInbox::WWW->new;
 
 # share the public-inbox code itself:
 my $src = $ENV{SRC_GIT_DIR}; # '/path/to/public-inbox.git'
+$src = PublicInbox::Git->new($src) if defined $src;
 
 builder {
        eval {