]> git.ipfire.org Git - thirdparty/git.git/commit
doc: patch-id: fix accidental literal blocks
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 29 Sep 2025 20:47:28 +0000 (22:47 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 29 Sep 2025 22:15:12 +0000 (15:15 -0700)
commit399694384bf9168008256d781f171ce47845e3fc
treebcf538f3684ef704be462af13340d0b5aff06944
parent16bd9f20a403117f2e0d9bcda6c6e621d3763e77
doc: patch-id: fix accidental literal blocks

All the final paragraphs on these three options are rendered as
literal blocks. The intent was surely to keep each of them wed to their
respective description list items. But the attempt at maintaining the
indentation level of the block causes each them to be interpreted as a
code block, since code blocks can be represented using indentation.

We need to use list continuation (+) in order to keep them wed to
their blocks.

There is also an unordered list which sandwiches two paragraphs on an
option. We don’t need to do anything about that since it attaches to the
description list item without list continuation (i.e. it is already
correct). But for consistency let’s use list continuation and an open
block on it.

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-patch-id.adoc