Date: Mon, 10 Jun 2024 14:49:05 GMT From: Ed Maste <emaste@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 87e5b17c149e - main - prepare-commit-msg: add 50 column marker Message-ID: <202406101449.45AEn5oE071284@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=87e5b17c149ef7e68c23c7dfd18734b3e0abe48d commit 87e5b17c149ef7e68c23c7dfd18734b3e0abe48d Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2024-06-09 17:24:13 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2024-06-10 14:48:32 +0000 prepare-commit-msg: add 50 column marker A common convention suggests a 50 column commit subject line (the first line of the commit message). Add a 50 column marker to the commit message template Reviewed by: lwhsu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D45538 --- tools/tools/git/hooks/prepare-commit-msg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tools/git/hooks/prepare-commit-msg b/tools/tools/git/hooks/prepare-commit-msg index ac3844accec2..e8e0e2887c3f 100755 --- a/tools/tools/git/hooks/prepare-commit-msg +++ b/tools/tools/git/hooks/prepare-commit-msg @@ -38,7 +38,7 @@ outfile=$(mktemp /tmp/freebsd-git-commit.XXXXXXXX) cat >$outfile <<EOF $(awk '1;/^#$/{exit}' $1) -# 72 columns --| +# 50 columns --| 72 columns --| # # Uncomment and complete these metadata fields, as appropriate: #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406101449.45AEn5oE071284>