]> git.ipfire.org Git - thirdparty/git.git/commit
doc: shortlog: put back trailer paragraphs
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 3 Feb 2026 09:48:52 +0000 (10:48 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Feb 2026 15:36:50 +0000 (07:36 -0800)
commitdf1c5d7ed76e8ff0c49906224cd336875d9f0a66
tree20a6a11fc91ea293d64220dda0b16c03f58479bf
parentf368df439b31b422169975cc3c95f7db6a46eada
doc: shortlog: put back trailer paragraphs

47beb37b (shortlog: match commit trailers with --group, 2020-09-27)
added the `trailer` bullet point with three paragraphs.[1] Later,
3dc95e09 (shortlog: support arbitrary commit format `--group`s,
2022-10-24) put the single-paragraph bullet point about `format` right
after the first paragraph about `trailer`. That meant that the second
and third paragraphs for `trailer` got moved to `format`.

Move the two paragraphs back to `trailer`. We now also need one blank
line before the final bullet point so that it does not get joined with
the second bullet point.

† 1: Technically the bullet list formatting was immediately fixed to
     include all three paragraphs in 63d24fa0 (shortlog: allow multiple
     groups to be specified, 2020-09-27)

Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-shortlog.adoc