Files
zed/crates
Parker Loflin 761786a4ef project: Retry diffs since a commit after a failed load (#67116)
## Summary

`GitStore::open_diff_since` cleared its `loading_diffs` entry only on
success. After a failed load, every later call got the cached error, so
the branch diff for that buffer stayed broken until restart. The entry
is now cleared on failure too.

## Testing

- `test_open_diff_since_retries_after_failed_load` fails a load, then
checks that a retry succeeds.
- `cargo test -p project --features test-support` and `./script/clippy
-p project` pass.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [x] Tests cover the new or changed behavior.

Release Notes:

- Fixed branch diffs staying broken for a file after a failed load
2026-11-18 10:07:55 +00:00
..
2026-11-11 19:41:39 +00:00
…
2026-10-19 14:16:08 +00:00
2026-10-26 13:46:57 +00:00
…
…
…
…
2026-11-17 12:43:21 +00:00