From: Junio C Hamano Date: Sat, 24 Oct 2009 01:22:37 GMT Subject: Re: [PATCH] pull: refuse complete src:dst fetchspec arguments Message-ID: <7vbpjxa8ma.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091024004917.GA8012@sigio.peff.net> Jeff King writes: > Yeah, I think you are right. It _should_ be variable, but right now it > varies on something totally unrelated to what you want (how you invoked, > and not what type of repo setup you are using). So I agree a patch to > make it more consistent across fetch+merge versus pull would be good, > and then we can make a configuration option to choose one or the other. I have been looong wondering why I somehow thught that I saw a patch that makes $ git merge origin/topic pretend as if you did $ git pull origin topic when you have this mapping [remote "origin"] fetch = refs/heads/*:refs/remotes/origin/* in your configuration file, since it is a very obvious thing to do...