From: Felipe Contreras Date: Wed, 21 Jul 2021 21:18:03 GMT Subject: Re: [PATCH v2 4/8] pull: since --ff-only overrides, handle it first Message-ID: <60f88f0b8776b_1c9e6920863@natae.notmuch> In-Reply-To: <5f334459-26ef-6bf6-d72e-31564b10cd2c@aixigo.com> Matthias Baumgarten wrote: > On 7/21/21 3:42 AM, Elijah Newren via GitGitGadget wrote: > > There are both merge and rebase branches in the logic, and previously > > both had to handle fast-forwarding. Merge handled that implicitly > > (because git merge handles it directly), while in rebase it was > > explicit. Given that the --ff-only flag is meant to override any > > --rebase or --no-rebase, make the code reflect that by handling > > --ff-only before the merge-vs-rebase logic. > > Great. That now will work as I would expect it to. Yes, but what about the current users that have setup pull.ff=only already? They are already relying on existing behavior. What do you think users currently expect this to do? [pull] ff = only rebase = true git pull --no-rebase -- Felipe Contreras