Skip to content

chore: add commit message normalizer#142

Open
marcus wants to merge 1 commit intocodex/release-notes-drafterfrom
feat/commit-message-normalizer-v24
Open

chore: add commit message normalizer#142
marcus wants to merge 1 commit intocodex/release-notes-drafterfrom
feat/commit-message-normalizer-v24

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 17, 2026

Summary

  • add td commit-message / td commit-msg normalization for conventional commit subjects
  • install commit-msg alongside pre-commit, preserving commit bodies and trailers
  • fix linked-worktree hook installation so make install-hooks points at the active checkout

Testing

  • go build ./...
  • go test ./internal/git ./cmd
  • go test ./...
  • manual smoke test in a temp repo + linked worktree: install hooks, focus an issue, verify a loose subject is rewritten while trailers are preserved, and confirm merge/revert/autosquash subjects stay unchanged

Supersedes #141 with the linked-worktree hook fix from review.

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