From: Josef Weidendorfer Date: Mon, 27 Nov 2006 00:41:14 GMT Subject: Re: [RFD] making separate-remote layout easier to use Message-ID: <200611270141.14307.Josef.Weidendorfer@gmx.de> In-Reply-To: <7v1wnr19do.fsf@assigned-by-dhcp.cox.net> On Saturday 25 November 2006 22:53, Junio C Hamano wrote: > - merging the "primary" branch is good only when the user is on > the corresponding "primary" branch. It is usually a wrong > thing to do when on another branch. I vote for a config option core.pull.stopWithoutDefaultMerge which would error out on a git pull when no branch..merge is set with a message like "No default remote branch set to merge into current branch . Set branch..remote/merge to make this work" It is arguable if this option should change the behavior of "git pull ". Probably not: I would assume that the user explicitly wants to merge the primary branch of . Additionally, set branch..remote/merge on git-clone, together with core.pull.stopWithoutDefaultMerge=1.