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

Re: [PATCH] doc: Make asciidoc bullet items separate

From
Jeff King <peff@peff.net>
Date
Sep 10, 2026, 16:38 UTC
Message-ID
<20260910163820.GE251185@coredump.intra.peff.net>
In-Reply-To
<9f455224-f156-493f-a21c-27a8922f3360@app.fastmail.com>
On Mon, Sep 07, 2026 at 12:18:48PM +0200, Kristoffer Haugsbakk wrote:
Show 5 quoted lines
> I wonder if this gives different results for asciidoc and asciidoctor.
> 
> • asciidoctor: seems that the bullet list is correct with or without
>   this change (no change)
> • asciidoc: needs this change

Yeah, I think we've run into this sort of parsing subtlety between the two before.

I imagine this is how you did it, but for the original author and anybody else working on documentation, it is often useful to do:

  cd Documentation
  ./doc-diff HEAD^ HEAD
  ./doc-diff --asciidoctor HEAD^ HEAD
to see how your changes work in both systems. You can also do:
  ./doc-diff --from-asciidoctor --to-asciidoc HEAD HEAD

to see how the two renderers differ currently, but there's quite a lot of noise (differing wrapping, indentation, use of quotes, etc). All of those may be candidates for examination and fixing, but it is a lot of noise if you are looking at your one area. ;)

> I also idly wonder why git-scm renders this bullet list as it ought
> to. This hunk has not been modified for a while. The second paragraph
> which ostensibly made it conjoined was d9bccf2e (builtin/maintenance:
> introduce "geometric" strategy, 2025-10-24).
It uses asciidoctor. :)
-Peff
Previous: Kristoffer HaugsbakkNext: Brigham Campbell
Message 5 of 7 in “doc: Make asciidoc bullet items separate”
  1. doc: Make asciidoc bullet items separateBrigham Campbell, Sep 7, 2026
  2. Patrick SteinhardtSep 7, 2026
  3. Brigham CampbellSep 7, 2026
  4. Kristoffer HaugsbakkSep 7, 2026
  5. Jeff KingSep 10, 2026
  6. doc: fix conjoined maintenance strategies in git-config(1)Brigham Campbell, Sep 10, 2026
  7. Patrick SteinhardtSep 10, 2026

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.