From: Jeff King Date: Wed, 18 May 2011 08:59:32 GMT Subject: Re: Is there a debug mode for git-clone https traffic? Message-ID: <20110518085932.GI27482@sigill.intra.peff.net> In-Reply-To: On Wed, May 18, 2011 at 01:08:06AM +0200, Ævar Arnfjörð Bjarmason wrote: > I''m trying to debug a problem where over a https proxy I have > "warning: remote HEAD refers to nonexistent ref, unable to checkout." > when doing git-clone. > > I suspect that it might be an overzealous security scanner sitting in > the middle. > > Is there some debugging mode for git-clone where it'll dump the > traffic being sent over the wire that I could use to confirm this? Others have mentioned ways to dump data from clone. But you can more or less see what's going on with "git ls-remote ". The sha1 for "HEAD" will try to match with the sha1 for some other ref. If it doesn't, then we give up. -Peff