Re: [PATCH] doc: patch-id: fix accidental literal blocks
- From
- Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
- Date
- Sep 28, 2025, 19:25 UTC
- Message-ID
- <b7ded038-fc91-41cc-b241-1ace6b46069c@app.fastmail.com>
- In-Reply-To
- <xmqq4ism7eh4.fsf@gitster.g>
On Sun, Sep 28, 2025, at 18:01, Junio C Hamano wrote:
Show 19 quoted lines
> kristofferhaugsbakk@fastmail.com writes: > >> From: Kristoffer Haugsbakk <code@khaugsbakk.name> >> >> The options here are apparently written with the assumption that you >> can continue a block like e.g. a description list by maintaining the >> same indentation level. This is not the the case; you need to use list >> continuation (+) for the elements following the first paragraph if you >> want to be guaranteed a predictable output >> >> This is kind of subtle since only the last paragraph of each option gets >> rendered in an unintended way, namely as literal blocks. This is easier >> to see in the HTML output since the man page output just has a slightly >> larger indentation on these paragraphs. > > Hmph, I've always thought that the practice breaks every paragraph > except for the first one (which is the same as "only the last", > only when you have exactly 2 paragraphs; when you have more than 2, > it makes a difference).
I don’t understand why but `doc-diff` agrees that these last ones are the only ones affected by this change.