From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff King Subject: Re: git fails updating submodule only if --quiet is specified Date: Tue, 22 Mar 2016 18:25:01 -0400 Message-ID: <20160322222501.GA29577@sigill.intra.peff.net> References: <3E1D841C-7665-43DB-A0F8-99999C59C28D@googlemail.com> <219B1DC5-8379-4FD5-8739-D99890362769@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Marcus T , "git@vger.kernel.org" To: Stefan Beller X-From: git-owner@vger.kernel.org Tue Mar 22 23:25:15 2016 Return-path: Envelope-to: gcvg-git-2@plane.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aiUjh-0005DW-KX for gcvg-git-2@plane.gmane.org; Tue, 22 Mar 2016 23:25:13 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752753AbcCVWZJ (ORCPT ); Tue, 22 Mar 2016 18:25:09 -0400 Received: from cloud.peff.net ([50.56.180.127]:36254 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752662AbcCVWZF (ORCPT ); Tue, 22 Mar 2016 18:25:05 -0400 Received: (qmail 23480 invoked by uid 102); 22 Mar 2016 22:25:04 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.84) with SMTP; Tue, 22 Mar 2016 18:25:04 -0400 Received: (qmail 19153 invoked by uid 107); 22 Mar 2016 22:25:23 -0000 Received: from sigill.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.7) by peff.net (qpsmtpd/0.84) with SMTP; Tue, 22 Mar 2016 18:25:23 -0400 Received: by sigill.intra.peff.net (sSMTP sendmail emulation); Tue, 22 Mar 2016 18:25:01 -0400 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Tue, Mar 22, 2016 at 02:38:34PM -0700, Stefan Beller wrote: > On Tue, Mar 22, 2016 at 11:22 AM, Stefan Beller wrote: > > However lookingat your logs, I would suspect it is an error in git > > clone instead, as that is the > > last command which has the --quiet flag passed through the stack. > > git clone --no-checkout --quiet --separate-git-dir tmp_gitdir > git://git.busybox.net/buildroot tmp_workdir > fails as a standalone program as well, so let's debug that. 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. -Peff