Skip to content

Add commit message normalizer#133

Open
marcus wants to merge 2 commits intomainfrom
feat/commit-message-normalizer-v18
Open

Add commit message normalizer#133
marcus wants to merge 2 commits intomainfrom
feat/commit-message-normalizer-v18

Conversation

@marcus
Copy link
Copy Markdown
Owner

@marcus marcus commented Apr 13, 2026

Summary

  • add the td commit-message / commit-msg command and commit-msg hook workflow
  • install both git hooks with worktree-safe paths and document the normalized subject format
  • narrow merge-subject skipping to Git-generated merge titles so summaries like 'Merge support docs' are still normalized

Verification

  • go test ./internal/git ./cmd
  • go test ./...
  • go build ./...
  • manually verified hook normalization for git commit -m, editor-based git commit, and git revert --no-edit in a disposable clone

Supersedes #132 with the reviewed merge-subject regression fix.

Review Bot added 2 commits April 13, 2026 02:49
Add td commit-message normalization, hook installation, and docs/tests for standardized commit subjects. Preserve Git-generated merge, revert, and autosquash subjects so special Git flows continue to work unchanged.

Nightshift-Task: commit-normalize

Nightshift-Ref: https://github.com/marcus/nightshift
Limit merge-subject skipping to Git-generated merge titles so human-authored summaries like 'Merge support docs' are still normalized.

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