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

Local clone checks out wrong branch based on remote HEAD

From
Nanako Shiraishi <nanako3@lavabit.com>
Date
Mar 17, 2009, 21:31 UTC
Message-ID
<20090318063123.6117@nanako3.lavabit.com>
In-Reply-To
<b97024a40903171219k8841508p774d9dc4295a09bc@mail.gmail.com>
Quoting Tom Preston-Werner <tom@github.com>:
> I'm guessing that the first branch that matches the remote HEAD
> revision is being checked out instead of the actual remote branch. I
> would expect the correct branch to be chosen regardless of where the
> branches are pointing.
Isn't this a known issue that can be found out easily from the archive?
  http://article.gmane.org/gmane.comp.version-control.git/27259
  http://thread.gmane.org/gmane.comp.version-control.git/101956/focus=101958
  http://thread.gmane.org/gmane.comp.version-control.git/102039
If I remember correctly, the two patch series from Junio wasn't accepted warmly and they were dropped.
-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
Previous: Jeff KingNext: Jeff King
Message 5 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.