From: Eric Wong Date: Fri, 24 Jun 2016 23:39:59 +0000 (+0000) Subject: githttpbackend: shallow clone workaround X-Git-Tag: v1.0.0~366 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=b732b131dfa1c22b49e8694699723f05cdafad4a;p=public-inbox.git githttpbackend: shallow clone workaround 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 --- diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm index 9660d21e..7267a1d7 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 };