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=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,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 EF5561F9FD for ; Fri, 12 Mar 2021 21:55:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235331AbhCLVzQ (ORCPT ); Fri, 12 Mar 2021 16:55:16 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:50072 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235300AbhCLVzK (ORCPT ); Fri, 12 Mar 2021 16:55:10 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 9B5B7BE5C3; Fri, 12 Mar 2021 16:55:09 -0500 (EST) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=4oeoduL2hKTKT5Fe4P1qoYiRvb4=; b=dckCTF XmdeNZ6gp+NLTOHLp8ka+eilLSkFbJQoBfY1LjRRAx3idCbVtsq0U5ypVeP7UcJm 1yfvbf2gvJjrFkM8iUFPCggUs8v6nbZK6lrPhybTEtN5e4xu2hzQc5mUuKzMSHSK zGjOc2iGM1YPVmP514Hv0cy1/iy8EeI5gUENQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=rjXquOsD8Ya3NFxxtdgpxlDsbuhRWuQ3 k7HPb2eBJPxWp3JZktIg2rvmC/XdXHfxsmTQMAstOV3teaiXfoCV6CQoTApC7B6g TjlbEuke8HP2zjUSqGmXnnUZQgKuv/CLAanfHvWllDeGud5weet3smBLGOJppnnV 5F/h+Ie7OLo= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 812B1BE5C1; Fri, 12 Mar 2021 16:55:09 -0500 (EST) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id AF6A4BE5BE; Fri, 12 Mar 2021 16:55:08 -0500 (EST) (envelope-from junio@pobox.com) From: Junio C Hamano To: Taylor Blau Cc: ZheNing Hu via GitGitGadget , git@vger.kernel.org, Johannes Schindelin , Denton Liu , Taylor Blau , ZheNing Hu Subject: Re: [PATCH] [GSOC][RFC] format-patch: pass --right-only to range-diff References: Date: Fri, 12 Mar 2021 13:55:07 -0800 In-Reply-To: (Taylor Blau's message of "Mon, 8 Mar 2021 15:18:04 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 9CB42AFA-837D-11EB-84C5-74DE23BA3BAF-77302942!pb-smtp2.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Taylor Blau writes: > Note that I think (and Johannes--cc'd--could confirm) that what you want > is '--left-only' to discard rebased changes from the upstream branch: Does that mean range-diff got --left-only and --right-only backwards? IOW, doesn't $ git log --left-only A...B show what is shown in "git log B..A", and if so, shouldn't $ git range-diff --left-only A...B which is a synonym for $ git range-diff B..A A..B also give commits in the B..A range? Puzzled....