Skip to content

feat: add commit message normalizer#131

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

feat: add commit message normalizer#131
marcus wants to merge 1 commit intomainfrom
feat/commit-message-normalizer-v16

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 13, 2026

Summary

  • add a reusable commit-message normalizer in internal/git with broader type support, td issue suffix handling, body/trailer preservation, and merge/autosquash exemptions
  • add td commit-message / td commit-msg plus tracked commit-msg hook installation that works from linked worktrees
  • update repo and website docs, and add regression coverage for normalization and hook installation

Verification

  • go test ./internal/git ./cmd
  • go test ./...
  • manual smoke test in a temp repo covering git commit -m, editor-based git commit, and a no-focus docs changelog commit

Add td commit-message/commit-msg, worktree-safe hook installation, documentation updates, and regression coverage.

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