# Wait for remote worktree to catch up with host before mutating entries · gitcafe/zed

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

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

Visibility: public

Requested revision: 6212f2fe302d6478f50450094c590842697df096

Requested commit: 6212f2fe302d6478f50450094c590842697df096

Commit: 6212f2fe302d6478f50450094c590842697df096

Tree: 498f80c5637b03b78736232256f028079ebfa249

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Wait for remote worktree to catch up with host before mutating entries

This ensures that entries don't randomly re-appear on remote worktrees
due to observing an update too late. In fact, it ensures that the remote
worktree has the same starting state of the host before preemptively applying
the fs operation locally.

```

## Parents

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

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