# Serialize buffer in terms of operations rather than state · gitcafe/zed

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

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

Visibility: public

Requested revision: 624eb5907e4997ae17a4437dc532a0d161e5fa16

Requested commit: 624eb5907e4997ae17a4437dc532a0d161e5fa16

Commit: 624eb5907e4997ae17a4437dc532a0d161e5fa16

Tree: aa1452f40ee5dcb67a893321899a431f30f35f5e

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Serialize buffer in terms of operations rather than state

This is required because, after joining, we want to be able to refer
to operations that have happened prior to joining, which are not
captured by the state. There is probably a way of reconstructing operations
from the state, but that seems unnecessary and we've already talked about
wanting to have the server store operations rather than state once we start
persisting worktrees.

```

## Parents

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

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