git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] doc: change the markup of paragraphs following a nested list item

From
Jeff King <peff@peff.net>
Date
Oct 10, 2025, 22:23 UTC
Message-ID
<20251010222304.GA2007405@coredump.intra.peff.net>
In-Reply-To
<xmqqo6qeag9n.fsf@gitster.g>
On Fri, Oct 10, 2025 at 09:11:16AM -0700, Junio C Hamano wrote:
Show 31 quoted lines
> >> diff --git a/Documentation/config/extensions.adoc
> >> b/Documentation/config/extensions.adoc index 49a7598ca5..aaea8c107f 100644
> >> --- a/Documentation/config/extensions.adoc
> >> +++ b/Documentation/config/extensions.adoc
> >> @@ -55,8 +55,9 @@ For historical reasons, this extension is respected 
> > regardless of
> >> the refStorage:::
> >>  	Specify the ref storage format to use. The acceptable values are:
> >>  +
> >> +--
> >>  include::../ref-storage-format.adoc[]
> >> -
> >> +--
> >>  +
> >>  Note that this setting should only be set by linkgit:git-init[1] or
> >>  linkgit:git-clone[1]. Trying to change it after initialization will not
> >> 
> >> on top of your patch seems to do the right thing (no change in asciidoc,
> >> and eliminating the regression from your patch). It's a little gross
> >> because we are reaching across the include to realize that
> >> ref-storage-format.adoc contains a list that needs to go into its own
> >> block. I wonder if asciidoc implicitly opens a new block for an include
> >> but asciidoctor doesn't. But at any rate, this is the only way I could
> >> come up with for both to render correctly.
> >
> > Thank you for cross-checking. This is indeed almost impossible to mechanize 
> > such testing at the moment.
> 
> Thanks, both.  
> 
> So we'd see an update to this (I think this is already in 'next')?
I think we already did, in:
  https://lore.kernel.org/git/20251007082223.GA3336685@coredump.intra.peff.net/

and you queued that on the topic (and merged it to next already). Or am I misunderstanding the question?

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 14 in “doc: config/extensions.adoc: line continuation syntax error”
  1. Kristoffer HaugsbakkSep 23, 2025
  2. Jean-Noël AVILASep 23, 2025
  3. Jeff KingSep 24, 2025
  4. doc: change the markup of paragraphs following a nested list itemJean-Noël Avila, Sep 26, 2025
  5. Junio C HamanoSep 26, 2025
  6. doc: change the markup of paragraphs following a nested list itemJean-Noël Avila, Sep 27, 2025
  7. Junio C HamanoSep 28, 2025
  8. Jeff KingOct 3, 2025
  9. Jeff KingOct 3, 2025
  10. Junio C HamanoOct 3, 2025
  11. Jean-Noël AVILAOct 4, 2025
  12. Junio C HamanoOct 10, 2025
  13. Jeff KingOct 10, 2025
  14. Junio C HamanoOct 13, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.