Date: Thu, 12 Feb 2026 04:49:30 +0000 From: Alexander Ziaee <ziaee@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 261ed379c88a - main - prepare-commit-msg: Sync with committers guide Message-ID: <698d5bda.21dcc.4f7b2421@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=261ed379c88a99fa9cb6239a85798f0e578aa485 commit 261ed379c88a99fa9cb6239a85798f0e578aa485 Author: Alexander Ziaee <ziaee@FreeBSD.org> AuthorDate: 2026-02-12 04:46:16 +0000 Commit: Alexander Ziaee <ziaee@FreeBSD.org> CommitDate: 2026-02-12 04:46:19 +0000 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 --- tools/tools/git/hooks/prepare-commit-msg | 35 ++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/tools/tools/git/hooks/prepare-commit-msg b/tools/tools/git/hooks/prepare-commit-msg index 007f0f8cbbd8..ff11f599f344 100755 --- a/tools/tools/git/hooks/prepare-commit-msg +++ b/tools/tools/git/hooks/prepare-commit-msg @@ -42,24 +42,29 @@ $(awk '1;/^#$/{exit}' $1) # # Uncomment and complete these metadata fields, as appropriate: # -# PR: <If and which Problem Report is related.> -# Reported by: <If someone else reported the issue.> -# Reviewed by: <If someone else reviewed your modification.> -# Tested by: <If someone else tested the change.> -# Approved by: <If you needed approval for this commit.> -# Obtained from: <If the change is from a third party.> -# Fixes: <Short hash and title line of commit fixed by this change> -# MFC after: <N [day[s]|week[s]|month[s]]. Request a reminder email> -# Relnotes: <Set to 'yes' for mention in release notes.> -# 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.> +# PR: <If and which Problem Report is related> +# Reported by: <If someone else reported the issue> +# Reviewed by: <If someone else reviewed your modification> +# Tested by: <If someone else tested the change> +# Discussed with: <If someone else provided meaningful feedback> +# Approved by: <If you needed approval for this commit> +# Obtained from: <If the change is from a third party> +# Fixes: <Short hash + commit title fixed by this change> +# MFC after: <N [day[s]|week[s]|month[s]] (Request a reminder email)> +# MFC to: <Specify specific branches to MFC to> +# Relnotes: <Set to 'yes' for mention in release notes> +# 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/###> +# 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###> # -# "Pull Request" and "Differential Revision" require the *full* GitHub or -# Phabricator URL. The commit author should be set appropriately, using -# \`git commit --author\` if someone besides the committer sent in the change. +# "Pull Request", "Closes" and "Differential Revision" require the +# *full* GitHub or Phabricator URL. The commit author should be set +# appropriately, using \`git commit --author\` if someone besides the +# committer sent in the change. $(awk '/^#$/,EOF' "$1") EOFhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698d5bda.21dcc.4f7b2421>
