mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-05-23 14:20:55 -05:00
[GH-ISSUE #568] Specification doesn't permit footers without a body #6620
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Susko3 on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/conventional-commits/conventionalcommits.org/issues/568
Since the footers are after the body, if there is no body -- there can't be any footers.
The examples show a commit message with only a description and footers, but no body:
325b74fbc4/content/v1.0.0/index.md (L65-L70)@javier-godoy commented on GitHub (Feb 4, 2024):
The syntax given in the summary already makes clear that body is optional, and footers can be added even if body is absent, as in the example that you referred:
325b74fbc4/content/v1.0.0/index.md (L21-L25)However, it's not clear whether "summary and example" take precedence over "specification" or vice-versa. Not without reason, one could assert that the "specification" holds the utmost authority as the definitive source of truth, while any other text simply strives to convey or interpret such specification.