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,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 B35BE1F990 for ; Wed, 5 Aug 2020 19:25:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728367AbgHETYp (ORCPT ); Wed, 5 Aug 2020 15:24:45 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:59182 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728887AbgHETYm (ORCPT ); Wed, 5 Aug 2020 15:24:42 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 16E4076257; Wed, 5 Aug 2020 15:24:40 -0400 (EDT) (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=+C1D4VCKjD1FctvEAsSk20+iY90=; b=Ah0yti vgtLvjALJIPBsyUnLm+TNRgwP1oReRWCjZNJytgQGs60a5eH7GIA2hyx7XcUIvHQ vZRjzDh6P+bfqGotS82C7CLpj76culmS7uiqcV375aIJYlsRxKgDFnrDYrq2Zl4k VsaTfwLrzPILzq76034Pm1E/XSlGddlMUKj4o= 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=KLWdo9hRD1miWYMlUWCH7Fc3p3YSV3Xs y4ca9d2wUlwG8319wh1c4oxlwkMGU1BvYgxhB3FLqtF1YKFc3mNA+vASoHbiE96i idfwxi/rowoL8IEyqufRoBzqkeOov/ae+zSl7QFv3Xr9+Eqdbgl2B8t5e1Nh4KUR Fh2W8O5qkY0= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 0DB0076256; Wed, 5 Aug 2020 15:24:40 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [35.231.104.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 79D3F76255; Wed, 5 Aug 2020 15:24:39 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Sergey Organov Cc: Jeff King , git@vger.kernel.org, Chris Torek Subject: Re: [PATCH v2 0/7] making log --first-parent imply -m References: <20200728163617.GA2649887@coredump.intra.peff.net> <20200729201002.GA2989059@coredump.intra.peff.net> <871rku3soc.fsf@osv.gnss.ru> <20200731230858.GA1461090@coredump.intra.peff.net> <87mu3drynx.fsf@osv.gnss.ru> <87o8nrybnb.fsf@osv.gnss.ru> <20200803180824.GA2711830@coredump.intra.peff.net> <874kpi47xj.fsf@osv.gnss.ru> <20200804195830.GA2014743@coredump.intra.peff.net> <87k0ydp0hc.fsf@osv.gnss.ru> <87d045nfju.fsf@osv.gnss.ru> Date: Wed, 05 Aug 2020 12:24:38 -0700 In-Reply-To: <87d045nfju.fsf@osv.gnss.ru> (Sergey Organov's message of "Wed, 05 Aug 2020 20:55:17 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 4E5BC6CA-D751-11EA-BA50-01D9BED8090B-77302942!pb-smtp1.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Sergey Organov writes: > Yes, we can invent the rule that implied options don't ... "invent"? It is nothing new, isn't it? IIRC, Peff's "first-parent implies 'm' but can be countermanded with --no-diff-merges" defines "implication" exactly that way. I do not think that is a recent invention but it is just following the patterns set by other options that has conditional implications. IOW, $ git log --no-diff-merges --first-parent -p next $ git log --first-parent -p --no-diff-merges next should both mean the same thing. The user said no patch is wanted for merge commits with --no-diff-merges and --first-parent does not affect it.