Re: [PATCH 3/3] format-patch: learn --[no-]range-diff-notes
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Sep 2, 2026, 13:19 UTC
- Message-ID
- <b3c66de3-0ced-446f-9bd6-73412a8c92b5@app.fastmail.com>
- In-Reply-To
- <xmqqpkz24193.fsf@gitster.g>
On Fri, Aug 28, 2026, at 19:13, Junio C Hamano wrote:
Show 16 quoted lines
> "Kristoffer Haugsbakk" <kristofferhaugsbakk@fastmail.com> writes: > >>> I do not know. My preference actually is not to introuce a new >>> option whose interaction with the existing --notes option cannot be >>> defined in simple terms. >> >> Let's drop this topic then. > > That is fine by me. I was hoping that you'd come up with a way to > add this new option with simpler-to-explain interactions. E.g., > when only --notes exists on the command line, it is used as the > material compared by the range-diff and as the material inserted > into the final output, but when both options exist, they work > independently, i.e., --notes gets used only as the final output, > while --range-diff-notes gets used only for comparison material, > or something like that.
This is how it works. The `--range-diff-notes` behavior that the doc discusses is just the special case when the list of notes for the range diff is empty.
That this wasn’t clear is the fault of the doc here.