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-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-11.6 required=3.0 tests=AWL,BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,USER_IN_DEF_DKIM_WL shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 1E8741F487 for ; Mon, 30 Mar 2020 16:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729467AbgC3Q5N (ORCPT ); Mon, 30 Mar 2020 12:57:13 -0400 Received: from mail-qk1-f202.google.com ([209.85.222.202]:36526 "EHLO mail-qk1-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgC3Q5M (ORCPT ); Mon, 30 Mar 2020 12:57:12 -0400 Received: by mail-qk1-f202.google.com with SMTP id y1so15578646qke.3 for ; Mon, 30 Mar 2020 09:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=OUD6dJqlCP+s2UrmxFn2nzWAkMk7KLxA1UXvvXGe9JY=; b=k2l9MtR1qLfLien73+ANwMOoiy3Tiy3l/P3Vqwam13tUAHdM33ICYYePgyoukBFQtg QE6kNeQ+ew6i3f0J0Ii24XzsvS9RZDWxU2/zmzRBHxcBbzeC3MQ88ByFy+oDfYDOQj8e VwcoHi9y3EYZyRmxyXL6x2eeXGgO+A0W4iZmJtxTWYOPJlDTNwyr8yQR+ZCCML1BqbJj QhB5UpwbsPI1ZadWgY6LdgJsf8ZCopzIslVib3LIi4khGOuhO5R8NEd/84flR/CzoEkb QAb/0Msk/hkpzBjSExVTrnwXzWhDIOx8q09kuceAbkAJ7wVFU9YHtOSvsLe7WlsChnsi /A0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=OUD6dJqlCP+s2UrmxFn2nzWAkMk7KLxA1UXvvXGe9JY=; b=piUDA8oTQoM6l4/q5+6uyj9f/RTekUVjvYKYJ/LOaemV2I/E1mKBLekImcYovydw3t rgNITpjFejxLKCO90c3EzTqaC3f7uMBuS1DsVjZ2aOs0KxyuwjKQI1S2rlcINAI7HnS4 t3l/iOp/eu82FiHrKZfkdZknIj/M1ZuVjem4OBVoRDv9k3XGgA7dC0eoH5Oieqkm6GYq 5fvBCpqiYPo9NjqMdJoHgn9Q6aTePM5IrTw8C3ti0t43VWJ0ZUZEJS5HF9M92BhVTrPY 8xvrIqDL3zYA+LO37DlGgDDIhufFs+tgIppG1NZz4f9uJelVw/F3OSX1MfpGlzBt6GsA K7Og== X-Gm-Message-State: ANhLgQ3KG2xCB8OqqfOCvFziAB6FdOBh4Sxc2O63MZP4mUsUXg2uoM33 N6NPPMgO3SpJb+iBg9OqIaXNKZ4Mlxnk15yGPyqO X-Google-Smtp-Source: ADFU+vsD2slvs4MhGswqDz3UJKZCtwFfkxs2JXa06wCGuCithj7pnMxZAuw9p97h0F2NVHqr86eyGIv4v3dhuMPZl4WF X-Received: by 2002:ac8:6919:: with SMTP id e25mr903054qtr.151.1585587429789; Mon, 30 Mar 2020 09:57:09 -0700 (PDT) Date: Mon, 30 Mar 2020 09:57:05 -0700 In-Reply-To: Message-Id: <20200330165705.134447-1-jonathantanmy@google.com> Mime-Version: 1.0 References: X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog Subject: Re: [PATCH v3] rebase --merge: optionally skip upstreamed commits From: Jonathan Tan To: stolee@gmail.com Cc: jonathantanmy@google.com, git@vger.kernel.org, congdanhqx@gmail.com, newren@gmail.com, gitster@pobox.com Content-Type: text/plain; charset="UTF-8" Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org > > Add a flag to "git rebase" to allow suppression of this feature. This > > flag only works when using the "merge" backend. > > So this is the behavior that already exists, and you are providing a way > to suppress it. However, you also change the default in this patch, which > may surprise users expecting this behavior to continue. First of all, thanks for looking at this. I'm not changing the default - was there anything in the commit message that made you believe it? If yes, I could change it. Looking back to the title, maybe it should be "rebase --merge: make skipping of upstreamed commits optional" (although that would exceed 50 characters, so I would have to think of a way to shorten it). > > +--keep-cherry-pick:: > > +--no-keep-cherry-pick:: > > I noticed that this _could_ have been simplified to > > --[no-]keep-cherry-pick:: > > but I also see several uses of either in our documentation. Do we > have a preference? By inspecting the lines before a "no-" string, > I see that some have these two lines, some use the [no-] pattern, > and others highlight the --no-