# Fix persistence for single-file worktrees \(\#44257\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4cef8eb47bb157916f10cedd18b0c1a85cd21977

Requested commit: 4cef8eb47bb157916f10cedd18b0c1a85cd21977

Commit: 4cef8eb47bb157916f10cedd18b0c1a85cd21977

Tree: 5de5121bc5a9084e8ebb3ede62ef7f1f4ad4acaf

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix persistence for single-file worktrees (#44257)

We were just deleting them before

Co-Authored-By: Matthew Chisolm <mchisolm0@gmail.com>

Closes #ISSUE

Release Notes:

- Fixed restoring window location for single-file worktrees

Co-authored-by: Matthew Chisolm <mchisolm0@gmail.com>
```

## Parents

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

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