# zeta_cli: Avoid unnecessary rechecks in \`retrieval-stats\` \(\#39267\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c61409e577cb93429fbbc894d92bec38aedf8d1e

Requested commit: c61409e577cb93429fbbc894d92bec38aedf8d1e

Commit: c61409e577cb93429fbbc894d92bec38aedf8d1e

Tree: cea56adf164636cd0726297339b932f6010af1b6

Author: Michael Sloan

Committer: GitHub

## Message

```
zeta_cli: Avoid unnecessary rechecks in `retrieval-stats` (#39267)

Before this change, it would save every buffer and wait for diagnostics.
For rust analyzer this would cause a lot of rechecking and greatly slow
down the analysis

Release Notes:

- N/A

Co-authored-by: Agus <agus@zed.dev>
```

## Parents

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

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