aboutsummaryrefslogtreecommitdiff
path: root/.hooks
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-04-22 09:42:56 +0000
committerMathieu Arnold <mat@FreeBSD.org>2021-04-22 09:48:22 +0000
commit37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9 (patch)
treebfe47ace23f1959dc84b851d788d9de58e782d66 /.hooks
parent59b754178469a3a41acd911b88258d544e3edede (diff)
downloadports-37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9.tar.gz
ports-37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9.zip
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
Diffstat (limited to '.hooks')
-rwxr-xr-x.hooks/prepare-commit-msg6
1 files 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