git: Fix project diff sorting not matching the git panel when tree view is in use (#46283) (cherry-pick to preview) (#46285)
zed-zippy[bot]
and
Cole Miller
created
Cherry-pick of #46283 to preview
----
The tree view effectively always sorts by status, not by path.
Release Notes:
- Fixed incorrect ordering of paths in the project diff when using the
git panel's tree view.
Co-authored-by: Cole Miller <cole@zed.dev>