Skip to content

Feature Request: commit message length warning #1552

@decoyjoe

Description

@decoyjoe

There's a convention that the line length of commit messages should be limited to 50/72 characters.

Both VSCode (git.inputValidationLength) and Vim (gitcommitSummary) have features where the editor will warn you when the length of the current line of the commit message is greater than a configured limit.

It would be nice if lazygit had this same functionality where a warning will be displayed in the commit message input prompt if the current line length is greater than the configuration setting commitLengthWarning: <int>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions