From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-3.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 8B12D1FE4E for ; Sat, 25 Jun 2016 00:36:55 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] githttpbackend: shallow clone workaround Date: Sat, 25 Jun 2016 00:36:55 +0000 Message-Id: <20160625003655.2547-1-e@80x24.org> List-Id: Apparently git-http-backend exits with a non-zero status on shallow clones (due to git-upload-pack), so there is a to-be-fixed bug in git.git http://mid.gmane.org/20160621112303.GA21973@dcvr.yhbt.net http://mid.gmane.org/20160621121041.GA29156@sigill.intra.peff.net --- lib/PublicInbox/GitHTTPBackend.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index 9660d21..7267a1d 100644 --- a/lib/PublicInbox/GitHTTPBackend.pm +++ b/lib/PublicInbox/GitHTTPBackend.pm @@ -188,7 +188,6 @@ sub serve_smart { my $end = sub { if (my $err = $x->finish) { err($env, "git http-backend ($git_dir): $err"); - drop_client($env); } $fh->close if $fh; # async-only };