-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
Summary
I managed to get Zed hang by running a script that just renamed a folder and then created a few new files to the same folder. Apparently not forever though, if you just wait it out for 5-10+ minutes.
Another method I used to succesfuly crash Zed was just moving a folder, discarding changes from Zed's git panel, then running git restore . from terminal.
After being stuck for multiple minutes, sometimes Zed became responsive, but the content displayed in Git panel was still out of sync with the actual git status, displaying changes & untracked files when actually there were no changes on the file system.
Steps to trigger the problem:
- Have a folder with some files, images + markdown in my case.
- Move/rename folder.
- Discard all changes in Zed's git panel.
- Run
git restore .in terminal. - It seemed sometimes removing the actual folder still left on the file system helped Zed recover, but the Git panel state still remains invalid.
Actual Behavior:
Hangs for a long time, displays stale status in git panel
Expected Behavior:
Zed remains responsive and correctly displays the actual git status in Git panel.
Zed Version and System Specs
Zed: v0.178.5 (Zed)
OS: macOS 15.2.0
Memory: 16 GiB
Architecture: aarch64
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
No response