# Don't open the commit editor when staging last hunk \(\#26939\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 430bd83e4d8c7b2cf63538318f92daa7f3f696a2

Requested commit: 430bd83e4d8c7b2cf63538318f92daa7f3f696a2

Commit: 430bd83e4d8c7b2cf63538318f92daa7f3f696a2

Tree: e5c4cfa892b4b2a2f0a8c8ad09f8ce4f465e539c

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Don't open the commit editor when staging last hunk (#26939)

Closes #26880

Release Notes:

- Removed a behavior where staging the last hunk in the project diff
would open the commit modal.
```

## Parents

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

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