-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specification doesn't permit footers without a body #568
Comments
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: conventionalcommits.org/content/v1.0.0/index.md Lines 21 to 25 in 325b74f
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. -One or more footers MAY be provided one blank line after the body
+One or more footers MAY be provided one blank line after the body (or one blank line after the description, if body is omitted). |
My reading
Then I read this case (subject + footer)
|
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:
conventionalcommits.org/content/v1.0.0/index.md
Lines 65 to 70 in 325b74f
The text was updated successfully, but these errors were encountered: