]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/GitHTTPBackend.pm
githttpbackend: remove ancient compatibility check
[public-inbox.git] / lib / PublicInbox / GitHTTPBackend.pm
index 8dd27a75e6c625205789b3989e1eee5217872a48..8883ec347c18adef02a3abba7d80b7afab530c88 100644 (file)
@@ -47,9 +47,6 @@ sub r ($;$) {
 sub serve {
        my ($env, $git, $path) = @_;
 
-       # XXX compatibility... ugh, can we stop supporting this?
-       $git = PublicInbox::Git->new($git) unless ref($git);
-
        # Documentation/technical/http-protocol.txt in git.git
        # requires one and exactly one query parameter:
        if ($env->{QUERY_STRING} =~ /\Aservice=git-[A-Za-z0-9_]+-pack\z/ ||