Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: git fails updating submodule only if --quiet is specified

From: Jeff King <hidden>
Date: 2016-06-15 23:08:53

On Tue, Mar 22, 2016 at 06:25:01PM -0400, Jeff King wrote:
I think you can simplify this quite a bit to just:

  git clone --quiet git://git.busybox.net/buildroot

That breaks, but works without --quiet. Presumably the problem is on the
server side, as we see the remote end hang up (and using different
versions of git on the client does not seem to help).

It seems to fail consistently for me around 2.4s, which makes me think
we're hitting some kind of timeout. I'd suspect a bug in the keep-alive
code in upload-pack, but that shouldn't have kicked in by then.

I guess the next step is to try to reproduce with a local client/server,
and then bisect the server version.
That server advertises that it's running v2.7.3. So I pulled down the
repo and tried reproducing with a local v2.7.3 run, but I can't get it
to fail.

I also tried tweaking uploadpack.keepalive down to 1 second to see if
that triggered anything, but again, nothing interesting.

So I'm not sure what the trick is to stimulating the failure. Is there
any special config set up on that server or in that repository? Is it
possible to get a tarball of the server repository, in case something in
the packing is relevant? I guess both of those would require contact
with the busybox.net admins.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help