Skip to content

chore(hooks): normalize commit subjects#117

Open
marcus wants to merge 1 commit intomainfrom
feat/commit-normalize-fix4
Open

chore(hooks): normalize commit subjects#117
marcus wants to merge 1 commit intomainfrom
feat/commit-normalize-fix4

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 12, 2026

Summary

  • add a repo-managed commit-msg validator for conventional-style commit subjects
  • install pre-commit and commit-msg as wrapper hooks in Git's active hooks directory so core.hooksPath and linked worktrees stay safe
  • document the commit format and hook behavior in the development README

Testing

  • smoke-test valid and invalid commit subjects with scripts/commit-msg.sh
  • smoke-test make install-hooks with default hooks, temporary core.hooksPath, and a linked worktree that is removed after installation
  • go test ./...

Automated by nightshift

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