From: Junio C Hamano Date: Thu, 15 Dec 2005 14:19:52 GMT Subject: Re: Now what: multiple HEAD refs Message-ID: <7vu0daphmf.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <81b0412b0512150216w295a5943ma66522befe381529@mail.gmail.com> Alex Riesen writes: > On 12/15/05, Junio C Hamano 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.