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

Re: cg-update (cogito-0.13) bug: changed heads

From
Junio C Hamano <junkio@cox.net>
Date
Sep 7, 2005, 02:17 UTC
Message-ID
<7vhdcxbozq.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<431E4409.50307@zytor.com>
"H. Peter Anvin" <hpa@zytor.com> writes:
> H. Peter Anvin wrote:
>>>
> OK, now later in the day I could not reproduce this on another box. 
> Either the situation was different enough, or I did something else wrong.

One thing that comes to mind, which may or may not be relevant to your situation, is which branch you were on when you ran cg-update. I cannot speak for Pasky and I do not use Cogito, but the 'git fetch' and 'git pull' commands that come with core GIT used to have a funny interaction of fetch attempting to update the branch head ref if your working tree happened to be on that branch, which was fixed some time ago.

Previous: H. Peter Anvin
Message 5 of 5 in “cg-update (cogito-0.13) bug: changed heads”
  1. H. Peter AnvinSep 6, 2005
  2. Petr BaudisSep 6, 2005
  3. H. Peter AnvinSep 6, 2005
  4. H. Peter AnvinSep 7, 2005
  5. Junio C HamanoSep 7, 2005

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.