From 292ca34140489da2c3458e1d45da5a9ae4af540d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 25 Dec 2016 06:52:03 +0000 Subject: githttpbackend: simplify compatibility code Fewer conditionals means theres fewer code paths to test and makes things easier-to-read. --- examples/public-inbox.psgi | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/public-inbox.psgi') diff --git a/examples/public-inbox.psgi b/examples/public-inbox.psgi index e97f917f..98cde92d 100644 --- a/examples/public-inbox.psgi +++ b/examples/public-inbox.psgi @@ -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 { -- cgit v1.2.3-24-ge0c7