# Implement staging of partially-staged hunks \(\#25520\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 45146b6f30f6c8c1fa4bd076fae34ad2b4e886d4

Requested commit: 45146b6f30f6c8c1fa4bd076fae34ad2b4e886d4

Commit: 45146b6f30f6c8c1fa4bd076fae34ad2b4e886d4

Tree: 862a32847a1b6a0aad293a6b40d0199d8cc5eaba

Author: Cole Miller

Committer: GitHub

## Message

```
Implement staging of partially-staged hunks (#25520)

Closes: #25475 

This PR makes it possible to stage uncommitted hunks that overlap but do
not coincide with an unstaged hunk.

Release Notes:

- Made it possible to stage hunks that are already partially staged

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Max <max@zed.dev>
```

## Parents

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

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