unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH] githttpbackend: shallow clone workaround
@ 2016-06-25  0:36 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2016-06-25  0:36 UTC (permalink / raw)
  To: meta

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
 	};

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-25  0:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-25  0:36 [PATCH] githttpbackend: shallow clone workaround Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).