# Reuse existing logic used to generate commit messages to disable commit buttons \(\#26034\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 76a81607deec5b9093237cd3e98506dccc9f9565

Requested commit: 76a81607deec5b9093237cd3e98506dccc9f9565

Commit: 76a81607deec5b9093237cd3e98506dccc9f9565

Tree: 1260b29247f8c350f6c4b58707dc4f7822c75a97

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Reuse existing logic used to generate commit messages to disable commit buttons (#26034)

Also
- Recomputes `suggested_commit_message` and no longer stores it, to
ensure things are always up to date
- Reduces indentation in `render_footer`

Release Notes:

- N/A
```

## Parents

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

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