# Fix a couple of diff hunk issues \(\#24913\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 394bb8f4e6ac4315d26bb8e86d7272c114036909

Requested commit: 394bb8f4e6ac4315d26bb8e86d7272c114036909

Commit: 394bb8f4e6ac4315d26bb8e86d7272c114036909

Tree: 1d438e49e35994b8c49ab1275ab36d50c5b1d8cb

Author: Cole Miller

Committer: GitHub

## Message

```
Fix a couple of diff hunk issues (#24913)

- Fix hunks losing their expandedness when staged or unstaged
- Disable collapsing hunks in the project diff editor

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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