From: Han-Wen Nienhuys Date: Sat, 26 May 2007 19:47:56 GMT Subject: Re: Pulling from refs/remotes/ ? Message-ID: <46588EEC.4080101@xs4all.nl> In-Reply-To: <7vwsyxsit8.fsf@assigned-by-dhcp.cox.net> Junio C Hamano escreveu: > And the reason it is "insane" is the same as why we currently do > not interpret "git pull $repo origin/master" as a request to > pull from remotes/origin/master. It really is none of your > business what kind of remote branches the other end is > interacting with. fair enough; my remaining gripe is that the error message is broken. My suggestion is to have git fetch . XXX (and by extension: pull) print something like Will not fetch from self. Do you mean "git merge XXX" or "git update-ref XXX" ? It may be an artificial restriction when compared to "git pull $dir XXX" but I think it helps the user better than "Fetch failure". -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen