# Revert PR \#6924 \- go to reference when there's only one \(\#10094\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7d5048e909b113d3c987ceec9cff90a862be6e6d

Requested commit: 7d5048e909b113d3c987ceec9cff90a862be6e6d

Commit: 7d5048e909b113d3c987ceec9cff90a862be6e6d

Tree: 372dcd1ffc7d8329cf9c961395154800d71995ba

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Revert PR #6924 - go to reference when there's only one (#10094)

This PR reverts #6924, for the reasons stated in
https://github.com/zed-industries/zed/pull/6924#issuecomment-2033076300.

It also fixes an issue were the `find_all_references_task_sources`
wasn't cleaned up in all cases.

Release Notes:

- N/A

---------

Co-authored-by: Marshall <marshall@zed.dev>
Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
```

## Parents

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

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