# git: Implement commit creation \(\#23263\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5da67899b7c102724bb69054f9e7fbad5369ba60

Requested commit: 5da67899b7c102724bb69054f9e7fbad5369ba60

Commit: 5da67899b7c102724bb69054f9e7fbad5369ba60

Tree: d16cba37ea4a7ab86a02c4cc2e811e22bb46414c

Author: Cole Miller

Committer: GitHub

## Message

```
git: Implement commit creation (#23263)

- [x] Basic implementation
- [x] Disable commit buttons when committing is not possible (empty
message, no changes)
- [x] Upgrade GitSummary to efficiently figure out whether there are any
staged changes
- [x] Make CommitAll work
- [x] Surface errors with toasts
  - [x] Channel shutdown
  - [x] Empty commit message or no changes
  - [x] Failed git operations
- [x] Fix added files no longer appearing correctly in the project panel
(GitSummary breakage)
- [x] Fix handling of commit message

Release Notes:

- N/A

---------

Co-authored-by: Nate <nate@zed.dev>
```

## Parents

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

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