ZIm/crates/git/src
Mikayla Maki 1aefa5178b
Move "async move" a few characters to the left in cx.spawn() (#26758)
This is the core change:
https://github.com/zed-industries/zed/pull/26758/files#diff-044302c0d57147af17e68a0009fee3e8dcdfb4f32c27a915e70cfa80e987f765R1052

TODO:
- [x] Use AsyncFn instead of Fn() -> Future in GPUI spawn methods
- [x] Implement it in the whole app
- [x] Implement it in the debugger 
- [x] Glance at the RPC crate, and see if those box future methods can
be switched over. Answer: It can't directly, as you can't make an
AsyncFn* into a trait object. There's ways around that, but they're all
more complex than just keeping the code as is.
- [ ] Fix platform specific code

Release Notes:

- N/A
2025-03-19 02:09:02 +00:00
..
blame.rs Git on main thread (#26573) 2025-03-12 19:39:30 +00:00
commit.rs Git on main thread (#26573) 2025-03-12 19:39:30 +00:00
fake_repository.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
git.rs Move buffer diff storage from BufferStore to GitStore (#26795) 2025-03-17 17:02:32 +00:00
hosting_provider.rs Add an undo button to the git panel (#24593) 2025-02-12 15:57:08 -07:00
remote.rs Detect wider variety of usernames for SSH-based remotes (#21508) 2024-12-05 15:23:37 -08:00
repository.rs Move "async move" a few characters to the left in cx.spawn() (#26758) 2025-03-19 02:09:02 +00:00
status.rs Improve when the commit suggestions would show (#26313) 2025-03-07 23:33:48 +00:00