git hooks: Adjust hooks for the ports tree

- Capitalize the topic line: this way the example is consistent with the
  desired style.
- Update the description of MFH.
- Point the Pull Request field to the ports repo on GitHub.

Reviewed by:	mat, bapt
Differential Revision:	https://reviews.freebsd.org/D29861
This commit is contained in:
Mateusz Piotrowski 2021-04-22 11:42:56 +02:00 committed by Mathieu Arnold
parent 59b7541784
commit 37dfa4eeea
No known key found for this signature in database
GPG Key ID: 29EB0902911D7E02

View File

@ -40,7 +40,7 @@ outfile=$(mktemp /tmp/freebsd-git-commit.XXXXXXXX)
cat >"$outfile" <<EOF
$(awk '1;/^#$/{exit}' "$1")
# category/port: subject goes here, max 50 cols -|
# category/port: Subject goes here, max 50 cols -|
# <then a blank line>
# 72 columns --|
#
@ -53,11 +53,11 @@ $(awk '1;/^#$/{exit}' "$1")
# 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>
# MFH: <Ports tree branch name. Request approval for merge.>
# MFH: <Ports tree branch name you plan to merge to.>
# Relnotes: <Set to 'yes' for mention in release notes.>
# Security: <Vulnerability reference (one per line) or description.>
# Sponsored by: <If the change was sponsored by an organization.>
# Pull Request: <https://github.com/freebsd/<repo>/pull/###>
# Pull Request: <https://github.com/freebsd/freebsd-ports/pull/###>
# Differential Revision: <https://reviews.freebsd.org/D###>
#
# "Pull Request" and "Differential Revision" require the *full* GitHub or