# Ensure \`proto::UpdateWorktree::removed_entries\` doesn't exceed chunk size · gitcafe/zed

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

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

Visibility: public

Requested revision: eca6115e4badec7be52695172b07ee9f495ec235

Requested commit: eca6115e4badec7be52695172b07ee9f495ec235

Commit: eca6115e4badec7be52695172b07ee9f495ec235

Tree: 34cc78eed83bb2659d5aed8d07c5654223bf1e3f

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Ensure `proto::UpdateWorktree::removed_entries` doesn't exceed chunk size

This was causing the database to panic because we were trying to remove too
many entries at once.

```

## Parents

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

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