# Fix worktree order serialization \(\#14676\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 75948e536ffdf2598e21fd2e7c4e21b26733e326

Requested commit: 75948e536ffdf2598e21fd2e7c4e21b26733e326

Commit: 75948e536ffdf2598e21fd2e7c4e21b26733e326

Tree: d2e6d5bb94b8ce3ec01bd9e42c3151132a7db68e

Author: Elliot Thomas

Committer: GitHub

## Message

```
Fix worktree order serialization (#14676)

Fixes an issue in the serialization of workspaces that lead to incorrect
ordering of worktrees and refactors some other parts of the code to use
the new method.

Release Notes:

- N/A
```

## Parents

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

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