-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Summary
There's a huge delay when opening the multi buffer git view while merging branches/etc
Screen.Recording.2025-09-03.at.11.19.08.AM.mov
Description
I've been absolutely loving Zed and the incredible work you've all been doing! However, I'm experiencing a significant performance issue with the multi-buffer git view during merge operations that's making conflict resolution quite challenging.
When opening the multi-buffer git view while merging branches (especially in larger repositories), there's a huge delay that makes the feature practically unusable. The delay appears to be caused by loading all changed files simultaneously, even when I only need to focus on files with actual merge conflicts.
Steps to reproduce:
- Create or switch to a branch with many file changes
- Initiate a merge that results in conflicts (e.g.,
git merge feature-branch
) - Open the multi-buffer git view in Zed
- Experience significant delay/freezing while all files load
Expected Behavior:
The multi-buffer view should load quickly and allow immediate interaction, ideally with one of these approaches:
- Only load files with actual merge conflicts by default
- Implement dynamic/lazy loading as the user scrolls through the file list
- Provide an option to filter the view to conflict-only files
Actual Behavior:
The multi-buffer view takes an extremely long time to load when there are many changed files, making conflict resolution workflows inefficient.
Suggested Solutions:
- Add a filter option to show only files with merge conflicts
- Implement virtualized/dynamic rendering for the multi-buffer view
- Add progressive loading as the user scrolls
I'd be happy to contribute to implementing this if it's a relatively small change! The codebase looks well-structured and this seems like it could be a great learning opportunity.
Thanks again for building such an amazing editor! 🚀
Zed Version and System Specs
Zed: v0.201.9 (Zed)
OS: macOS 15.5.0
Memory: 18 GiB
Architecture: aarch64