# git: Fix project diff sorting not matching the git panel when tree view is in use \(\#46283\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4831e5cba92809343bbb5f3be0d5a61883cdda86)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4831e5cba92809343bbb5f3be0d5a61883cdda86

Requested commit: 4831e5cba92809343bbb5f3be0d5a61883cdda86

Commit: 4831e5cba92809343bbb5f3be0d5a61883cdda86

Tree: ba24710f312942f647cdb97be65ee2caf08a5b98

Author: Cole Miller

Committer: GitHub

## Message

```
git: Fix project diff sorting not matching the git panel when tree view is in use (#46283)

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.
```

## Parents

- [a3733b8f60ef19faef184bfd0e6ba453c5c8f46b](https://git.cafe/gitcafe/zed/commit/a3733b8f60ef19faef184bfd0e6ba453c5c8f46b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4831e5cba92809343bbb5f3be0d5a61883cdda86?format=markdown)
