mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-03-22 12:44:37 -05:00
Ambiguity over footer issue references #205
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 @tomhampshire on GitHub (May 22, 2024).
Given we want to reference two issues using the "Closes" key. The issue references are XYZ-1 and XYZ-2.
Point 8 of the current (v1.0.0) spec states: "One or more footers MAY be provided one blank line after the body. Each footer MUST consist of a word token, followed by either a : or # separator, followed by a string value (this is inspired by the git trailer convention)."
The git trailed convention would state that the footer should be:
which indicates that a given word token should be repeated if used multiple times, each with a separate string value.
However, the example given at the bottom of the v1.0.0 spec is:
which would indicate that each word token should be used once, and separate string values associated with the given word token are provided in a comma-separated list.
Which of these is the correct way to proceed?