From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-a1-smtp.messagingengine.com (fhigh-a1-smtp.messagingengine.com [103.168.172.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20ABF39479F for ; Mon, 24 Aug 2026 22:31:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787610675; cv=none; b=BSWILaDgSwUEmmK3+pddfG+FtM6mw0+eE2qDxf1OP+pJyWLHMQpfelpuApN+K+0HQ3R8d5Pf835+6O8DhNyuZQL7w3JvYE7xH+O8FnyUnWnt2UzMKQSKK9AfqWQIYIwwn35ee9QPbUKgg7E/LW09QVDy+WXjwYOSIH1GsQrXhoA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787610675; c=relaxed/simple; bh=F1eL9DIubhBs31I00JYzfzDYDG3xWgkxJKoZqCytlYc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=KYzZup5xq9qbiJ5tMnYnC2jR1X6vEB8UF7x0ChSlZzwtaL8ntYCuXMTJKywV6W888YJ5+p35e/oUny7E1ToBrMJ4DIP1EA9XHggx/no+0u2WardQzaAqVWIti15FAx31Dh7VwJ6E7S/zLGybM4/1nxvMNgyHwyt55Z558xTPiSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com; spf=pass smtp.mailfrom=pobox.com; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b=RtZyNJTr; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=i7LO/eOb; arc=none smtp.client-ip=103.168.172.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pobox.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pobox.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pobox.com header.i=@pobox.com header.b="RtZyNJTr"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="i7LO/eOb" Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 2230214000F2; Mon, 24 Aug 2026 18:31:12 -0400 (EDT) Received: from phl-frontend-01 ([10.202.2.160]) by phl-compute-03.internal (MEProxy); Mon, 24 Aug 2026 18:31:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pobox.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1787610672; x=1787697072; bh=zAD1c4cIP1 fAS8yEpNxxY6VPU3+kG4qOTinDraZP6YA=; b=RtZyNJTrsX+7fuzJc6TQWWAMtD TDNTRA4yh1c/KUAeTQUZmUDLYzf6TQnKm38s0yqt6EOCc3gTQ8ffojxfpq58Ek4E Ypxl/E7SAFUVPjFQn00UWFpFARRfSEoZ6qdyFEQ3BzrnqHdslOlhVpE1DYGD5z0X tJluxbnBWJdwt79PQd03+fCGtDPQ626naOCiGcVbjSqBcAqt6eTJNK221iDdxjLF gfK5tRJvlONqtNkqf70OMb+duwPB6ts0AUbNiMazcZzaGbZ0duwapW7NiJmBN2qt b2crunFPsbvEcBQyAb6gMY1gRhLHZvak+FSye/w+JvXCoEOzwuvjhVKFNsDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1787610672; x=1787697072; bh=zAD1c4cIP1fAS8yEpNxx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peClw9m9ercHFtqoID1LI6DQ X-ME-Proxy: Feedback-ID: if26b431b:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Aug 2026 18:31:11 -0400 (EDT) From: Junio C Hamano To: kristofferhaugsbakk@fastmail.com Cc: git@vger.kernel.org, Kristoffer Haugsbakk Subject: Re: [PATCH 3/3] format-patch: learn --[no-]range-diff-notes In-Reply-To: (kristofferhaugsbakk@fastmail.com's message of "Mon, 24 Aug 2026 22:35:44 +0200") References: Date: Mon, 24 Aug 2026 15:31:10 -0700 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain kristofferhaugsbakk@fastmail.com writes: > diff --git a/Documentation/git-format-patch.adoc b/Documentation/git-format-patch.adoc > index 191f64b77d1..e0ba435dfcf 100644 > --- a/Documentation/git-format-patch.adoc > +++ b/Documentation/git-format-patch.adoc > @@ -378,6 +378,23 @@ case is to show comparison with an older iteration of the same > topic and the tool should find more correspondence between the two > sets of patches. > > +`--range-diff-notes[=]`:: > +`--no-range-diff-notes`:: > + Used with `--range-diff`, tweak what notes to display in the > + range diff. For example, you can use `--no-range-diff-notes` to > + turn off all notes in the range diff. The default behavior is > + to display the same notes in the range diff as on the patches > + (see `--notes`). > ++ > +You may want to turn off this notes override after it has been > +activated. Use this sequence to do that: > ++ > +---- > +--no-range-diff-notes --range-diff-notes > +---- > ++ > +Now the range diff is back to displaying the same notes as the patches. > + Hmph, this is a bit too complex for me. When I say $ git format-patch --no-notes --range-diff-notes ... I would expect that individual patches would not get notes, but the range-diff will include them in the comparison. But if --range-diff-notes just falls back to default (i.e., inherit what patches use), would I see the notes used in the range-diff?