# Restore file to original content when rejecting file recreated by agent \(\#29264\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 55ea4817076e14d204dfdcfbd2076ba23d613ebe

Requested commit: 55ea4817076e14d204dfdcfbd2076ba23d613ebe

Commit: 55ea4817076e14d204dfdcfbd2076ba23d613ebe

Tree: 2d4aa9b631257890f1ed477443754412c777201c

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Restore file to original content when rejecting file recreated by agent (#29264)

Release Notes:

- Fixed a bug that could sometimes cause a file to be deleted when
rejecting an agent change.
```

## Parents

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

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