Files
zed/crates/git_ui
zed-zippy[bot] d22d86bf03 Fix panic in the git panel when toggling sort_by_path (#43074) (cherry-pick to stable) (#43128)
Cherry-pick of #43074 to stable

----
We call `entry_by_path` on the `bulk_staging` anchor entry at the
beginning of `update_visible_entries`, but in the codepath where
`sort_by_path` is toggled on or off, we clear entries without clearing
`bulk_staging` or counts, causing that `entry_by_path` to do an out of
bounds index. Fixed by clearing `bulk_staging` as well.

Release Notes:

- N/A

Co-authored-by: Cole Miller <cole@zed.dev>
2025-11-20 07:04:25 +00:00
..
2024-12-11 22:13:52 -05:00