From: Richard Hansen Date: Sun, 08 Sep 2013 06:17:47 GMT Subject: Re: [PATCH 0/3] Reject non-ff pulls by default Message-ID: <522C168B.7050300@bbn.com> In-Reply-To: On 2013-09-07 22:41, Felipe Contreras wrote: > On Wed, Sep 4, 2013 at 5:59 PM, Junio C Hamano wrote: > >> Which can be solved by adding the above "fail" option, and then >> renaming them to "pull.integrate" and "branch..integrate" to >> clarify what these variables are about (it is no longer "do you >> rebase or not---if you choose not to rebase, by definition you are >> going to merge", as there is a third choice to "fail"), while >> retaining "pull.rebase" and "branch..rebase" as a deprecated >> synonym. > > All these names are completely unintuitive. First of all, why > "integrate"? Integrate what to what? And then, why "fail"? Fail on > what circumstances? Always? > > My proposal that does: > > pull.mode = merge/rebase/merge-ff-only > > Is way more intuitive. +1 What about something like: pull.mergeoptions (defaults to --ff-only) pull.rebaseoptions (defaults to empty? --preserve-merges?) branch..pull.mergeoptions (defaults to pull.mergeoptions) branch..pull.rebaseoptions (defaults to pull.rebaseoptions) -Richard