[PATCH 0/3] format-patch: learn --[no-]range-diff-notes
From: <hidden>
Date: 2026-08-24 20:36:03
From: Kristoffer Haugsbakk <redacted> 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