From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) (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 4C77026159E for ; Mon, 24 Aug 2026 20:36:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.153 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787603765; cv=none; b=tmnWUX3ov/oJTY6npO5hfXxedvIjxBVTodhMFaNNOA4ivz0y8h6TyYpZ4pybX9Qnt06Th3OjLJgHmn05lcWCeTalMMg1105jq7x+Ts6pmvf3q/eRdw+xnsm8VIvvk9apbq/TrS49W3CJmMadV64qFclRQDgJCQwODeQnPGENMhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787603765; c=relaxed/simple; bh=hJv/0arHWDrHluxOqTsc3CZLIVcrB5YIUVc60CtW64M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jdy4DUoXknrPadoNy+vmD7jtR+Yb1rhcSUyrKEEnBB+s6qYJIxZUG8a+WEJoNRlQoWoWSxeuBjbbcuFNj7U/GmS+LgTBTWr+iKcNEdxsswADv/RuDLEQi+kfTApM4GcZBVAXorF8Mac90q4rmGTGQJLwfmpeP9IdHHryoyeUUVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com; spf=pass smtp.mailfrom=fastmail.com; dkim=pass (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b=E6GalL5A; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=hUSE4Y8Y; arc=none smtp.client-ip=202.12.124.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fastmail.com header.i=@fastmail.com header.b="E6GalL5A"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="hUSE4Y8Y" Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id 983257A00CB; Mon, 24 Aug 2026 16:36:02 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 24 Aug 2026 16:36:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1787603762; x=1787690162; bh=Mx eC17EXcjk2ragbWN45cWoBcnEkD3DamUqzdtEuPGI=; b=E6GalL5A13KEofeliJ e8YuiLVR+zvWEOYNhuoQTIaB7UyLlBu60bmkQJucHQhcITn9B+EcS2W8Qr9LNX+l M30rU7A87l//yX9iS1Fdw+QfcV8+5yw2EmsspVrHO4UvYL+Dibz1KbFwp9glnd+/ 1yFYqGXqIzN+ErTR5Yhp7fKpXNkjnmu2sgdmupq78ZXd4Ib96Cox/KoSKFQg41rE OnR4toj7bJTNf5vNcbmM/QP7wljprRoNzlpBdiqE82vOSaEjCtMlmLYzpM8Yhmnl /6V/UUh9+zW+Po1vx99io1HksZssPUbtCjkR/nOuxOxRleUzLR+BWFF551GZFvwz EZbA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1787603762; x=1787690162; bh=MxeC17EXcjk2ragbWN45cWoBcnEk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TWQHHV1IgkDMInumkiKdM9xfmTmw9VQnokQ X-ME-Proxy: Feedback-ID: i8b11424c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 24 Aug 2026 16:36:01 -0400 (EDT) From: kristofferhaugsbakk@fastmail.com To: git@vger.kernel.org Cc: Kristoffer Haugsbakk Subject: [PATCH 0/3] format-patch: learn --[no-]range-diff-notes Date: Mon, 24 Aug 2026 22:35:41 +0200 Message-ID: X-Mailer: git-send-email 2.55.0.13.g85d2d65e389 Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Kristoffer Haugsbakk Topic name: kh/format-patch-range-diff-notes Topic summary: Teach 'format-patch' options to tweak notes output in the range diff independent of what notes are output in the patches. See patch 3/3 for details. This is motivated by wanting to turn off range diff notes, but the goal here is to implement it in full generality. (How many of us `git format-patch --notes` users are there out there? More than a dozen?) I have implemented this behavior for myself and used it for many months. But that was hacky and only suitable for one person’s use. So this is a completely new implementation. In other words: this is new code, *not* tested for months. § CI https://github.com/LemmingAvalanche/git/actions/runs/32762207178 I seem to have finally learned now that I ought to push to my public Git tree for CI, not my private one. The latter seems to consistently give me “insufficient funds” errors. But I don’t know. [1/3] format-patch: simplify get_notes_arg parameters [2/3] revision.h: rename struct member to reflect notes role [3/3] format-patch: learn --[no-]range-diff-notes Documentation/git-format-patch.adoc | 17 +++++ builtin/log.c | 21 +++--- log-tree.c | 2 +- revision.c | 13 ++++ revision.h | 9 ++- t/t3206-range-diff.sh | 105 ++++++++++++++++++++++++++++ 6 files changed, 156 insertions(+), 11 deletions(-) base-commit: 1a3e64c6c4a623626ff0687008732a8e007e2a1c -- 2.55.0.13.g85d2d65e389