git: 97a24b350c4b - main - prepare-commit-msg: Add missing tabs to Fixes: and Event:
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 08 Dec 2025 13:31:17 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=97a24b350c4b9400749e5b199d563e2ed3dfbe6d
commit 97a24b350c4b9400749e5b199d563e2ed3dfbe6d
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2025-12-08 13:26:00 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2025-12-08 13:26:00 +0000
prepare-commit-msg: Add missing tabs to Fixes: and Event:
Although these line up when prefixed with "# ", once the comment prefix
is deleted they no longer do. Add an extra tab to each to compensate,
just like "Obtained from:".
---
tools/tools/git/hooks/prepare-commit-msg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/tools/git/hooks/prepare-commit-msg b/tools/tools/git/hooks/prepare-commit-msg
index e8e0e2887c3f..007f0f8cbbd8 100755
--- a/tools/tools/git/hooks/prepare-commit-msg
+++ b/tools/tools/git/hooks/prepare-commit-msg
@@ -48,11 +48,11 @@ $(awk '1;/^#$/{exit}' $1)
# Tested by: <If someone else tested the change.>
# 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>
+# Fixes: <Short hash and title line of commit fixed by this change>
# MFC after: <N [day[s]|week[s]|month[s]]. Request a reminder email>
# Relnotes: <Set to 'yes' for mention in release notes.>
# Security: <Vulnerability reference (one per line) or description.>
-# Event: <If this was done at a conference.>
+# Event: <If this was done at a conference.>
# Sponsored by: <If the change was sponsored by an organization.>
# Pull Request: <https://github.com/freebsd/<repo>/pull/###>
# Differential Revision: <https://reviews.freebsd.org/D###>