Skip to content

feat(hooks): normalize commit subjects#111

Open
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-v8
Open

feat(hooks): normalize commit subjects#111
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-v8

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 5, 2026

Summary

  • add a local commit-msg hook that normalizes conventional commit subjects while preserving bodies and trailers
  • install the new hook through make install-hooks and align repo-authored commit message sources with the same format
  • document the normalized subject contract and verify it in a temporary git repo plus normal Go quality checks

Verification

  • bash -n scripts/commit-msg.sh
  • temporary git repo hook checks for valid, normalized, malformed, body/trailer, and release subjects
  • go build ./...
  • go vet ./...
  • go test ./...

Nightshift-Task: commit-normalize
Nightshift-Ref: https://github.com/marcus/nightshift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant