git: 8bdd9fb6c2d7 - 2021Q2 - githooks: Adjust hooks for the ports tree
Mathieu Arnold
mat at FreeBSD.org
Fri Jun 4 12:04:13 UTC 2021
The branch 2021Q2 has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8bdd9fb6c2d765da8cfda5a9c3f20ff46202ad11
commit 8bdd9fb6c2d765da8cfda5a9c3f20ff46202ad11
Author: Mateusz Piotrowski <0mp at FreeBSD.org>
AuthorDate: 2021-04-22 09:42:56 +0000
Commit: Mathieu Arnold <mat at FreeBSD.org>
CommitDate: 2021-06-04 12:03:30 +0000
githooks: 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
(cherry picked from commit 37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9)
---
.hooks/prepare-commit-msg | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.hooks/prepare-commit-msg b/.hooks/prepare-commit-msg
index d2d1536cfcca..e4e94960988e 100755
--- a/.hooks/prepare-commit-msg
+++ b/.hooks/prepare-commit-msg
@@ -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
More information about the dev-commits-ports-all
mailing list