# Add warning when git commit title is longer than 72 chars \(\#54653\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cf8eb424b0d53bd937622cb968711d212bdcb78c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cf8eb424b0d53bd937622cb968711d212bdcb78c

Requested commit: cf8eb424b0d53bd937622cb968711d212bdcb78c

Commit: cf8eb424b0d53bd937622cb968711d212bdcb78c

Tree: 3c5f1c7a182b6a4f9e656e4444eb2311468abe87

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
Add warning when git commit title is longer than 72 chars (#54653)

Adds a warning to the git commit panel when the message title (i.e.
first line) is longer than 72 (configurable) chars.

<img width="406" height="227" alt="image"
src="https://github.com/user-attachments/assets/08b900d0-3865-4530-8495-e301d5b8c452"
/>

<img width="754" height="482" alt="image"
src="https://github.com/user-attachments/assets/574ebaa5-d6b7-48cd-9ca4-6ee01172ccb4"
/>


Release Notes:

- Added: Display a warning when git commit message title exceeds a
configurable limit

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
```

## Parents

- [6f84d9be2c64450c47d95fd7b944666f8651f82f](https://git.cafe/gitcafe/zed/commit/6f84d9be2c64450c47d95fd7b944666f8651f82f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cf8eb424b0d53bd937622cb968711d212bdcb78c?format=markdown)
