Skip to content

Fix commit message breaking marker preservation#139

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

Fix commit message breaking marker preservation#139
marcus wants to merge 1 commit intofeature/release-notes-drafterfrom
feat/commit-message-normalizer-v22

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 16, 2026

Summary

  • add td-native commit message normalization plus commit-msg hook/docs from the reviewed v21 task branch
  • preserve conventional-commit breaking markers like feat!: and fix(scope)!: during subject normalization and file rewrites
  • keep no-issue docs/test/chore/ci commits, hook installation for linked worktrees, and body/trailer preservation intact

Verification

  • go test ./internal/git ./cmd
  • go test ./...
  • manual smoke test in a disposable linked worktree: make install-hooks installed stable symlinks, git commit rewrote only the subject line, preserved !, and left the body/trailer untouched

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