From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 5E1EC1FA12 for ; Tue, 24 Nov 2020 01:48:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726186AbgKXBpx (ORCPT ); Mon, 23 Nov 2020 20:45:53 -0500 Received: from cloud.peff.net ([104.130.231.41]:39560 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbgKXBpx (ORCPT ); Mon, 23 Nov 2020 20:45:53 -0500 Received: (qmail 30445 invoked by uid 109); 24 Nov 2020 01:45:53 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Tue, 24 Nov 2020 01:45:53 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 10180 invoked by uid 111); 24 Nov 2020 01:45:52 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Mon, 23 Nov 2020 20:45:52 -0500 Authentication-Results: peff.net; auth=none Date: Mon, 23 Nov 2020 20:45:51 -0500 From: Jeff King To: Felipe Contreras Cc: Junio C Hamano , Alex Henrie , Git , =?utf-8?Q?V=C3=ADt?= Ondruch , "Theodore Y . Ts'o" , Andreas Krey , John Keeping , Richard Hansen , Philip Oakley , "Brian M. Carlson" , "W. Trevor King" Subject: Re: [PATCH v7 1/1] pull: add ff-only option Message-ID: References: <20201123224621.2573159-1-felipe.contreras@gmail.com> <20201123224621.2573159-2-felipe.contreras@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Mon, Nov 23, 2020 at 05:51:42PM -0600, Felipe Contreras wrote: > > On the other hand, it looks quite funny for that single variable > > that controls the way how pull works, whether rebase or merge is > > used, is pull.REBASE. > > Which is precisely why I wanted to rename it to pull.mode. > > In my option git pull should have three main modes: > > 1. fast-forward only > 2. merge > 3. rebase > > The fast-forward only mode can be considered a merge, or a rebase, > doesn't matter. I agree that is much nicer. I'd worry a bit though that it may be confusing to users to have this new mode option _and_ the existing pull.rebase and pull.ff options, which overlap (but not completely). It might be something we could solve with good documentation, though. -Peff