Skip to content

Add commit message normalizer#138

Open
marcus wants to merge 1 commit intofeature/release-notes-drafterfrom
feat/commit-message-normalizer-v21
Open

Add commit message normalizer#138
marcus wants to merge 1 commit intofeature/release-notes-drafterfrom
feat/commit-message-normalizer-v21

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 16, 2026

Summary

  • add shared commit subject/message normalization plus a new td commit-message CLI command
  • install a versioned commit-msg hook alongside pre-commit, with linked-worktree-safe symlinks
  • document the normalized format and tighten no-issue commits to docs/test/chore/ci only

Verification

  • go test ./internal/git ./cmd
  • go test ./...
  • manual smoke test in a temp repo + linked worktree: make install-hooks created repo-root hook symlinks and git commit rewrote only the subject line while preserving body/trailers

Add td commit-message normalization, hook installation, tests, and docs updates.

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