From: Alex Riesen Date: Thu, 15 Dec 2005 10:16:26 GMT Subject: Re: Now what: multiple HEAD refs Message-ID: <81b0412b0512150216w295a5943ma66522befe381529@mail.gmail.com> In-Reply-To: <7v8xumr9mw.fsf@assigned-by-dhcp.cox.net> On 12/15/05, Junio C Hamano wrote: > > just a heads-up for everyone tried "git pull" after using "git merge" too much: > > > > $ git pull . ref1 HEAD (notice the space!) > > If you were too used to git merge, you would have wrote > HEAD before ref1, so that does not sound plausible ;-). no, that I have remembered. What I constantly forget is the space-vs-colon difference. > $ git pull . maint HEAD > error: no such remote ref refs/heads/HEAD > Fetch failure: . > $ echo $? > 1 > > But worse yet, the above syntax is to create an Octopus, and you > probably did not mean that. no, of course not. > 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?