-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I recently had some issues where I had to amend commits because their format was wrong; it was expected for the body to wrap at 72 characters.
Describe the solution you'd like
I would like the body of a multiline commit to warp at 72 characters.
Describe alternatives you've considered
- Set up a git hook to reject commit body lines longer than 72 characters
- Have a column at 72 characters in lazygit and manually wrap lines
- Fall back to the editor for multiline commits
Additional context
- Tim Pope on commit messages: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
- The 50/72 rule: https://stackoverflow.com/questions/2290016/git-commit-messages-50-72-formatting
- Kernel commit message format: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?id=bc7938deaca7f474918c41a0372a410049bd4e13#n664
oyarsa, selmison, imericxu, keysmashes, jwhitley and 3 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request