git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Is there a debug mode for git-clone https traffic?

From
Jeff King <peff@peff.net>
Date
May 18, 2011, 08:59 UTC
Message-ID
<20110518085932.GI27482@sigill.intra.peff.net>
In-Reply-To
<BANLkTi=-i063MqrboT1MHrQy-vM0yBTUGg@mail.gmail.com>
On Wed, May 18, 2011 at 01:08:06AM +0200, Ævar Arnfjörð Bjarmason wrote:
Show 9 quoted lines
> 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 <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
Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 7 in “Is there a debug mode for git-clone https traffic?”
  1. Ævar Arnfjörð BjarmasonMay 17, 2011
  2. Richard PetersonMay 18, 2011
  3. Tay Ray ChuanMay 18, 2011
  4. Junio C HamanoMay 18, 2011
  5. Jeff KingMay 18, 2011
  6. Junio C HamanoMay 18, 2011
  7. Ævar Arnfjörð BjarmasonMay 23, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.