# Add remote worktree to project before it is fully deserialized · gitcafe/zed

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

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

Visibility: public

Requested revision: a762f575f4cd5bc53e0a0172d5c4b6d4a57eef59

Requested commit: a762f575f4cd5bc53e0a0172d5c4b6d4a57eef59

Commit: a762f575f4cd5bc53e0a0172d5c4b6d4a57eef59

Tree: 6e7769cea0622663a75ffab803a0c7f931a3a65c

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Add remote worktree to project before it is fully deserialized

This prevents a race condition where the host will send us messages and
responses about a worktree that we have seen but haven't yet finished loading.

```

## Parents

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

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