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

Re: Now what: multiple HEAD refs

From
Junio C Hamano <junkio@cox.net>
Date
Dec 15, 2005, 14:19 UTC
Message-ID
<7vu0daphmf.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<81b0412b0512150216w295a5943ma66522befe381529@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 6 quoted lines
> On 12/15/05, Junio C Hamano <junkio@cox.net> wrote:
>> I think the reason why my trial here worked correctly while you
>> had trouble with it is because I have the send-pack fix from
>> Pasky last night.
>
> yes, probably. It cleanups a reference if there was an error, right?

Not really. send-pack does not have anything to do with this (it is involved in git-push not git-pull). Care to see how yours gets broken when you do "sh -x git-pull.sh . ref1 HEAD"? If .git/refs/heads/HEAD exists in the first place then I would understand it would not fail with the error message I quoted, but the original message from you indicated that "git pull" is the one that creates the breakage, and I am trying to see how.

Previous: Alex RiesenNext: Alex Riesen
Message 4 of 9 in “Now what: multiple HEAD refs”
  1. Alex RiesenDec 15, 2005
  2. Junio C HamanoDec 15, 2005
  3. Alex RiesenDec 15, 2005
  4. Junio C HamanoDec 15, 2005
  5. Alex RiesenDec 15, 2005
  6. Junio C HamanoDec 15, 2005
  7. Alex RiesenDec 15, 2005
  8. Johannes SchindelinDec 15, 2005
  9. Alex RiesenDec 15, 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.