Temporarily revert git panel diff editor feature (#22733)

The existing code was causing us to constantly re-scan files when
anything changed in the project. Temporarily revert this as we're about
to rework this entire UI with the new primitives.

follow up to https://github.com/zed-industries/zed/pull/22329

Release Notes:

- N/A

---------

Co-authored-by: Cole <cole@zed.dev>
This commit is contained in:
Mikayla Maki 2025-01-06 14:09:05 -08:00 committed by GitHub
parent 5ec924828e
commit 3c430af31a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 268 additions and 296 deletions

View file

@ -311,7 +311,7 @@ impl ProjectPanel {
this.update_visible_entries(None, cx);
cx.notify();
}
project::Event::GitRepositoryUpdated
project::Event::WorktreeUpdatedGitRepositories(_)
| project::Event::WorktreeUpdatedEntries(_, _)
| project::Event::WorktreeAdded(_)
| project::Event::WorktreeOrderChanged => {