Skip to content

git: Split up compute snapshot to improve repository responsiveness#51882

Merged
Anthony-Eid merged 3 commits intomainfrom
partial_snapshot_calculation
Mar 23, 2026
Merged

git: Split up compute snapshot to improve repository responsiveness#51882
Anthony-Eid merged 3 commits intomainfrom
partial_snapshot_calculation

Conversation

@Anthony-Eid
Copy link
Copy Markdown
Contributor

Context

This should allow the UI to update faster with stateful git operations like branch changes, commits, etc. This will also allow Zed to recognized when a new project belongs to a branch sooner than before.

Self-Review Checklist

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • git: Speed up UI responsiveness to branch/worktree changes

This should allow the UI to update faster with stateful git operations
like branch changes, commits, etc. This will also allow Zed to
recognized when a new project belongs to a branch sooner than before.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 19, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Mar 19, 2026
@zed-codeowner-coordinator zed-codeowner-coordinator bot requested review from a team, cameron1024 and smitbarmase and removed request for a team March 19, 2026 00:13
@github-actions github-actions bot added size/M and removed size/M labels Mar 19, 2026
@Anthony-Eid Anthony-Eid requested review from cole-miller and maxbrunsfeld and removed request for smitbarmase March 19, 2026 00:30
@Anthony-Eid Anthony-Eid merged commit f9f1920 into main Mar 23, 2026
30 checks passed
@Anthony-Eid Anthony-Eid deleted the partial_snapshot_calculation branch March 23, 2026 12:58
AmaanBilwar pushed a commit to AmaanBilwar/zed that referenced this pull request Mar 23, 2026
…ed-industries#51882)

## Context

This should allow the UI to update faster with stateful git operations
like branch changes, commits, etc. This will also allow Zed to
recognized when a new project belongs to a branch sooner than before.


## Self-Review Checklist

<!-- Check before requesting review: -->
- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- git: Speed up UI responsiveness to branch/worktree changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants