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

Re: Solved: why cloning my repo always got the wrong default branch; possibly missing featurette?

From
JHJunio C Hamano <jch@google.com>
Date
Apr 21, 2012, 19:28 UTC
Message-ID
<xmqq7gx8zxyh.fsf@junio.mtv.corp.google.com>
In-Reply-To
<4F926B02.3050104@diamand.org>
Luke Diamand <luke@diamand.org> writes:
> At a guess, the protocol would need to be changed to put the symbolic
> ref information in somehow (upload-pack.c, send-refs() ?).
>
> Is this a bug, or a feature?

Known protocol limitation, as you already seem to have discovered. I think I outlined a possible protocol extension in a message a few years ago, but nobody seemed to be interested/motivated enough, so...

Previous: Luke Diamand
Message 2 of 2 in “Solved: why cloning my repo always got the wrong default branch; possibly missing featurette?”
  1. Luke DiamandApr 21, 2012
  2. Junio C HamanoApr 21, 2012

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.