# Properly calculate expanded git diff hunk highlight ranges \(\#11632\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4762e52d310503565c52b59362b62fe1ebfb57ae

Requested commit: 4762e52d310503565c52b59362b62fe1ebfb57ae

Commit: 4762e52d310503565c52b59362b62fe1ebfb57ae

Tree: 2db8ce0c9baf5484e7ca766931bbbdff5c9ac572

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Properly calculate expanded git diff hunk highlight ranges (#11632)

Closes https://github.com/zed-industries/zed/issues/11576

Release Notes:

- Fixed expanded diff hunks highlighting an extra row as added
([11576](https://github.com/zed-industries/zed/issues/11576))
```

## Parents

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

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