Date: Thu, 22 Apr 2021 09:52:18 GMT From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 37dfa4eeea6d - main - git hooks: Adjust hooks for the ports tree Message-ID: <202104220952.13M9qITh092961@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat: URL: https://cgit.FreeBSD.org/ports/commit/?id=37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9 commit 37dfa4eeea6de2ae698ca8bb0023835c9f28f7b9 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-04-22 09:42:56 +0000 Commit: Mathieu Arnold <mat@FreeBSD.org> CommitDate: 2021-04-22 09:48:22 +0000 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 --- .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104220952.13M9qITh092961>