prepare-commit-msg: Sync with committers guide
Add `Discussed with:`, `Closes:`, `MFC to:`, and `Co-authored-by:` to the commit message template from the committer's guide. While here, wordsmith these to fit on standard console. Reported by: lwhsu Discussed with: emaste, jlduran Reviewed by: vexeduxr Differential Revision: https://reviews.freebsd.org/D54707
This commit is contained in:
@@ -42,24 +42,29 @@ $(awk '1;/^#$/{exit}' $1)
|
|||||||
#
|
#
|
||||||
# Uncomment and complete these metadata fields, as appropriate:
|
# Uncomment and complete these metadata fields, as appropriate:
|
||||||
#
|
#
|
||||||
# PR: <If and which Problem Report is related.>
|
# PR: <If and which Problem Report is related>
|
||||||
# Reported by: <If someone else reported the issue.>
|
# Reported by: <If someone else reported the issue>
|
||||||
# Reviewed by: <If someone else reviewed your modification.>
|
# Reviewed by: <If someone else reviewed your modification>
|
||||||
# Tested by: <If someone else tested the change.>
|
# Tested by: <If someone else tested the change>
|
||||||
# Approved by: <If you needed approval for this commit.>
|
# Discussed with: <If someone else provided meaningful feedback>
|
||||||
# Obtained from: <If the change is from a third party.>
|
# Approved by: <If you needed approval for this commit>
|
||||||
# Fixes: <Short hash and title line of commit fixed by this change>
|
# Obtained from: <If the change is from a third party>
|
||||||
# MFC after: <N [day[s]|week[s]|month[s]]. Request a reminder email>
|
# Fixes: <Short hash + commit title fixed by this change>
|
||||||
# Relnotes: <Set to 'yes' for mention in release notes.>
|
# MFC after: <N [day[s]|week[s]|month[s]] (Request a reminder email)>
|
||||||
# Security: <Vulnerability reference (one per line) or description.>
|
# MFC to: <Specify specific branches to MFC to>
|
||||||
# Event: <If this was done at a conference.>
|
# Relnotes: <Set to 'yes' for mention in release notes>
|
||||||
# Sponsored by: <If the change was sponsored by an organization.>
|
# Security: <Vulnerability reference (one per line) or description>
|
||||||
|
# Event: <If this was done at a conference>
|
||||||
|
# Sponsored by: <If the change was sponsored by an organization>
|
||||||
# Pull Request: <https://github.com/freebsd/<repo>/pull/###>
|
# Pull Request: <https://github.com/freebsd/<repo>/pull/###>
|
||||||
|
# Closes: <https://github.com/freebsd/<repo>/pull/###>
|
||||||
|
# Co-authored-by: <Name and email address of an additional author>
|
||||||
# Differential Revision: <https://reviews.freebsd.org/D###>
|
# Differential Revision: <https://reviews.freebsd.org/D###>
|
||||||
#
|
#
|
||||||
# "Pull Request" and "Differential Revision" require the *full* GitHub or
|
# "Pull Request", "Closes" and "Differential Revision" require the
|
||||||
# Phabricator URL. The commit author should be set appropriately, using
|
# *full* GitHub or Phabricator URL. The commit author should be set
|
||||||
# \`git commit --author\` if someone besides the committer sent in the change.
|
# appropriately, using \`git commit --author\` if someone besides the
|
||||||
|
# committer sent in the change.
|
||||||
$(awk '/^#$/,EOF' "$1")
|
$(awk '/^#$/,EOF' "$1")
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user