# Revert "Add support of auto folded directories" \(\#8476\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7cbdea2ca04355b8cffbb76320934785c167df7e

Requested commit: 7cbdea2ca04355b8cffbb76320934785c167df7e

Commit: 7cbdea2ca04355b8cffbb76320934785c167df7e

Tree: 8cf016c705645cbf3a7cb71500fd4788e67c9f7b

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Revert "Add support of auto folded directories" (#8476)

Reverts zed-industries/zed#7674

@ABckh: reverting this as it introduced a significant performance
slowdown, most likely caused by iterating through all the snapshot
entries to determine whether a directory is foldable/unfoldable/omitted.
It would be great if you could open a new PR that reverts this revert
and addresses the performance issues. Thank you!

/cc: @maxbrunsfeld 

Release notes:

- N/A
```

## Parents

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

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