# Forget buffered operations when resyncing with the host · gitcafe/zed

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

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

Visibility: public

Requested revision: 12a286ac509830333975d7e70e47c923abfbb2c8

Requested commit: 12a286ac509830333975d7e70e47c923abfbb2c8

Commit: 12a286ac509830333975d7e70e47c923abfbb2c8

Tree: d33f5aca0f90802c8d9c3d131d249c11f6a40ca3

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Forget buffered operations when resyncing with the host

Previously, we could end up with a situation where the host did not
see an operation but a guest that didn't have that buffer open would. When
such guest would finally open the buffer, they would apply the operation
without however sending it to the host. The guest wouldn't bother resyncing
it because it wasn't part of its open buffers.

```

## Parents

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

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