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

Re: Local clone checks out wrong branch based on remote HEAD

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 17, 2009, 23:40 UTC
Message-ID
<7viqm7pvkl.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.1.00.0903171530160.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> ... I think there's also been discussion of a 
> protocol extension to transmit the information, although I don't know 
> where that ended up.
You can find them in the list of threads posted nearby.

The first round's protocol extension was not quite backward compatible but in a benign way, in that it did not break anything but induced a harmless warning from older ls-remote. The second round did not have such flaw but it got a "Yuck".

    From: Jeff King <peff@peff.net>
    Date: Mon, 1 Dec 2008 12:44:15 -0500
    Message-ID: <20081201174414.GA22185@coredump.intra.peff.net>
    Subject: Re: [PATCH 5/6 (v2)] upload-pack: send the HEAD information

I somehow feel that the "Yuck" was addressed not to the patches but to the problem the patch needs to address.

We could resurrect it if somebody is interested.
Previous: Daniel BarkalowNext: Jeff King
Message 3 of 10 in “Local clone checks out wrong branch based on remote HEAD”
  1. Tom Preston-WernerMar 17, 2009
  2. Daniel BarkalowMar 17, 2009
  3. Junio C HamanoMar 17, 2009
  4. Jeff KingMar 18, 2009
  5. Nanako ShiraishiMar 17, 2009
  6. Jeff KingMar 18, 2009
  7. Michael J GruberMar 18, 2009
  8. Jay SoffianMar 18, 2009
  9. Jeff KingMar 19, 2009
  10. Jeff KingMar 19, 2009

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.