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: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,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 EEEDB1F8C6 for ; Thu, 29 Jul 2021 19:34:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229713AbhG2TeE (ORCPT ); Thu, 29 Jul 2021 15:34:04 -0400 Received: from pb-smtp20.pobox.com ([173.228.157.52]:63067 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbhG2TeE (ORCPT ); Thu, 29 Jul 2021 15:34:04 -0400 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 880A413A6A5; Thu, 29 Jul 2021 15:34:00 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Vvy3cIf9OGlVURzAMHSaAJ0N9OIwlbLo40JRVP R76Lo=; b=RYZRQYff0YEAIrARcE3RXL1wM/USVmr992S5lW4kczMIhd7q3unWu1 rhGoCVXLjQ5Ta23IdDgULIAeyodrd7cR2N4xm/fQLI5Tn6Iv4Dxp3bRPTDfqhnyc J6aBGFAXitmUtxUcpAa3oOMmI0YXjDE2g+1dvZFOT1ozNmuHAbdcQ= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 8140B13A6A3; Thu, 29 Jul 2021 15:34:00 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.196.71.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id C2E7213A6A2; Thu, 29 Jul 2021 15:33:57 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Jeff King Cc: Philip Oakley , Daniel Knittl-Frank , Git List Subject: Re: Using two-dot range notation in `git rebase`? References: Date: Thu, 29 Jul 2021 12:33:56 -0700 In-Reply-To: (Jeff King's message of "Thu, 29 Jul 2021 13:29:27 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: EB037E52-F0A3-11EB-B18A-D5C30F5B5667-77302942!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Jeff King writes: > Potentially it opens the door for stuff like: > > git rebase ^A B C D > > but I am not sure if that is helpful or horrifying. ;) It is the "you might be forgetting that 'rebase' is a tool to rebase a single branch, and is not a tool to replay a history on a commit" example. The "multi-pick" variant of "git cherry-pick" probably has a lot more affinity with the idea of specifying general sub-graph of history to be replayed, expressed in the "externded SHA-1" syntax, I would think. Thanks.