# Omit clickable hunks when git hunks are disabled in the gutter \(\#12671\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ad2ddf12008ffc674eade95d164d95d34d2cc1d8

Requested commit: ad2ddf12008ffc674eade95d164d95d34d2cc1d8

Commit: ad2ddf12008ffc674eade95d164d95d34d2cc1d8

Tree: 245b4d9ea166bc195bfde803df4e608f4c950236

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Omit clickable hunks when git hunks are disabled in the gutter (#12671)

Closes https://github.com/zed-industries/zed/issues/12644 

https://github.com/zed-industries/zed/pull/12425 fixes the issue so that
clicks are never reaching the hunks' hitboxes in such case, this PR
actually removes those hitboxes.
Hunks can still be toggled via the action.

Release Notes:

- N/A
```

## Parents

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

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