about summary refs log tree commit homepage
path: root/lib/PublicInbox/GitHTTPBackend.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-24 23:39:59 +0000
committerEric Wong <e@80x24.org>2016-06-24 23:40:40 +0000
commitb732b131dfa1c22b49e8694699723f05cdafad4a (patch)
tree7ac1a50bd898759403e02a51b5fe2f92c516aa3c /lib/PublicInbox/GitHTTPBackend.pm
parent59acf1776b0b4ca558ecae7dd3a36285b35a19fc (diff)
downloadpublic-inbox-b732b131dfa1c22b49e8694699723f05cdafad4a.tar.gz
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
Diffstat (limited to 'lib/PublicInbox/GitHTTPBackend.pm')
-rw-r--r--lib/PublicInbox/GitHTTPBackend.pm1
1 files changed, 0 insertions, 1 deletions
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
         };