# Diff view \(\#32922\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 45b5b2e60d45d0b3aa17fca9624556c3963784ad

Requested commit: 45b5b2e60d45d0b3aa17fca9624556c3963784ad

Commit: 45b5b2e60d45d0b3aa17fca9624556c3963784ad

Tree: 871f8c30790691b2b14c12f2705339bf1917ceff

Author: Conrad Irwin

Committer: GitHub

## Message

```
Diff view (#32922)

Todo:

* [x] Open diffed files as regular buffers
* [x] Update diff when buffers change
* [x] Show diffed filenames in the tab title
* [x] Investigate why syntax highlighting isn't reliably handled for old
text
* [x] remove unstage/restore buttons

Release Notes:

- Adds `zed --diff A B` to show the diff between the two files

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
```

## Parents

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

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