aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2025-12-08 13:26:00 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2025-12-08 13:26:00 +0000
commit97a24b350c4b9400749e5b199d563e2ed3dfbe6d (patch)
treed9fdb0c44e23afc90bb56967aeea821933d1ec38
parent5d58198ccc2b562098ee5fc4898013622b32b065 (diff)
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:".
-rwxr-xr-xtools/tools/git/hooks/prepare-commit-msg4
1 files 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###>