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

Re: What's cooking in git.git (Jan 2021, #04; Sat, 16)

From
JTJonathan Tan <jonathantanmy@google.com>
Date
Jan 21, 2021, 18:34 UTC
Message-ID
<20210121183427.1783539-1-jonathantanmy@google.com>
In-Reply-To
<xmqq8s8so84r.fsf@gitster.c.googlers.com>
Show 11 quoted lines
> * jt/clone-unborn-head (2020-12-22) 3 commits
>  - clone: respect remote unborn HEAD
>  - connect, transport: add no-op arg for future patch
>  - ls-refs: report unborn targets of symrefs
> 
>  "git clone" tries to locally check out the branch pointed at by
>  HEAD of the remote repository after it is done, but the protocol
>  did not convey the information necessary to do so when copying an
>  empty repository.  The protocol v2 learned how to do so.
> 
>  What's the status of this thing?

Several people have commented on the high-level approach (and I have addressed those comments), but I don't think anyone has said that the code itself looks OK. I'll see if I can get some of my colleagues to review this.

Previous: Elijah NewrenNext: Jeff King
Message 7 of 9 in “What's cooking in git.git (Jan 2021, #04; Sat, 16)”
  1. Junio C HamanoJan 16, 2021
  2. Elijah NewrenJan 21, 2021
  3. Junio C HamanoJan 21, 2021
  4. Elijah NewrenJan 24, 2021
  5. Junio C HamanoJan 24, 2021
  6. Elijah NewrenJan 24, 2021
  7. Jonathan TanJan 21, 2021
  8. Jeff KingJan 21, 2021
  9. Junio C HamanoJan 21, 2021

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.